Created
November 15, 2018 05:50
-
-
Save 1901/185beaf56c17db07620533696cabf449 to your computer and use it in GitHub Desktop.
[Nginx 跨域配置] #nginx #linux
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-Methods' '*'; | |
| 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