Last active
May 9, 2017 02:33
-
-
Save brs14ku/f8d4a890f199c5fdd353d16cb16ed55a to your computer and use it in GitHub Desktop.
Add to your nginx.conf for packrip
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
# Directives to send expires headers and turn off 404 error logging. | |
location ~* \.(js|css|png|jpe?g|gif|ico)$ { | |
expires 24h; | |
log_not_found off; | |
try_files $uri $uri/ @production; | |
} | |
location @production { | |
resolver 8.8.8.8; | |
proxy_pass https://YOURURLHERE/$uri; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check config/nginx-config/sites/ directory for a file called something to the effect of local.packrip.conf.
@aladage