Created
December 24, 2015 18:33
-
-
Save johnbuhay/54bbb56bf56bb00e3042 to your computer and use it in GitHub Desktop.
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|css|png|jpg|jpeg|gif|ico|svg)$ { | |
log_not_found off; | |
proxy_cache_valid any 1m; | |
proxy_pass http://local_backend$uri$is_args$args; | |
add_header X-Proxy-Cache $upstream_cache_status; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment