Created
July 30, 2014 23:41
-
-
Save lucianosousa/4a8ceb13a626c85f18bf 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
| location ~ ^/(assets)/ { | |
| root /path/to/public; | |
| gzip_static on; # to serve pre-gzipped version | |
| expires max; | |
| add_header Cache-Control public; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment