Created
November 10, 2017 10:27
-
-
Save robertwe/ade648653bee435eb4cdb66df4b25886 to your computer and use it in GitHub Desktop.
nginx.conf
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
# Statics | |
location /(bundles|css|fonts|images|js) { | |
access_log off; | |
expires 30d; | |
add_header 'Access-Control-Allow-Origin' '*'; | |
add_header 'Access-Control-Allow-Methods' 'GET'; | |
try_files $uri =404; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment