Last active
November 28, 2017 02:40
-
-
Save h2non/1f718f8f4ef95daa441a to your computer and use it in GitHub Desktop.
Nginx CORS config
This file contains hidden or 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
add_header Access-Control-Allow-Origin *; | |
add_header Access-Control-Allow-Headers *; | |
add_header Access-Control-Allow-Methods GET, POST, OPTIONS; | |
add_header Access-Control-Allow-Credentials true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment