Skip to content

Instantly share code, notes, and snippets.


brichards/site.conf Secret

Last active May 4, 2021
What would you like to do?
# 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 {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment