Last active
October 19, 2022 15:13
-
-
Save assafmo/7b77ad19fff8ff1ffd41bdaa7bb4ef50 to your computer and use it in GitHub Desktop.
caddy conf for reverse proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
banana.com | |
header { | |
Access-Control-Allow-Origin * | |
Access-Control-Allow-Methods * | |
Access-Control-Allow-Headers * | |
} | |
@corspreflight { | |
method OPTIONS | |
path * | |
} | |
respond @corspreflight 204 | |
reverse_proxy 127.0.0.1:1317 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment