caddy version: 2.6.4
(cors) { @origin header Origin {args.0} header @origin { header_down Access-Control-Allow-Origin "{args.0}" header_down Access-Control-Request-Method * } } example.com { encode gzip zstd file_server import cors https://example.com reverse_proxy localhost:port }
Access-Control-Allow-Origin is not in the response.
Access-Control-Allow-Origin
Please fill out the help topic template as per the forum rules. You’re also not using the latest version, and you haven’t shared your logs or an example request with curl -v. We can’t help until you do.
curl -v
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.