Created
January 8, 2016 14:04
-
-
Save vparihar01/f1efec240c0299867304 to your computer and use it in GitHub Desktop.
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
Access-Control-Allow-Headers | |
Access-Control-Allow-Methods | |
Access-Control-Allow-Origin | |
Access-Control-Max-Age |
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
location ~* \.(eot|ttf|woff|woff2)$ { | |
add_header Access-Control-Allow-Origin *; | |
} | |
location ~* \.woff2$ { | |
add_header "Access-Control-Allow-Origin" "*"; | |
add_header "Content-Type" "font/woff2"; | |
try_files $uri @upstream; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment