Created
February 20, 2019 18:05
-
-
Save D4R4/9490758e5b1505c3ad5654e340ca6249 to your computer and use it in GitHub Desktop.
allow cross origin requests from parent website and what not
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' 'GET, POST, OPTIONS'; | |
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range'; | |
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range'; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment