Created
August 15, 2017 11:17
-
-
Save olssonm/0545929648b4112552533aecc9785b8d to your computer and use it in GitHub Desktop.
Nginx browser cache
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
# BROWSER CACHE | |
location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|xml|otf|ttf|eot|woff|woff2|svg|ico)$ { | |
expires 365d; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment