Created
March 20, 2023 09:25
-
-
Save mrkaluzny/0517d3a60ae91201d478833bc15013a1 to your computer and use it in GitHub Desktop.
nginx - cache for static resources
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 ~* \.(jpg|jpeg|png|gif|ico|svg|woff|woff2|css|js|webp)$ { | |
expires 365d; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment