Created
October 11, 2019 21:27
-
-
Save manfe/12cb71df182b600a5d02d16e8b587870 to your computer and use it in GitHub Desktop.
Adicionando Cache no NGINX
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
location ~* .(js|jpg|jpeg|gif|png|css|tgz|gz|rar|bz2|doc|pdf|ppt|tar|wa$ | |
expires 30d; | |
add_header Pragma "public"; | |
add_header Cache-Control "public"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment