Skip to content

Instantly share code, notes, and snippets.

@pshima
Created December 11, 2011 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pshima/1458969 to your computer and use it in GitHub Desktop.
Save pshima/1458969 to your computer and use it in GitHub Desktop.
Nginx Config
location ~ ^/(images|assets|javascripts|stylesheets|fonts)/ {
try_files /$uri /oldassets/$uri =404;
expires 10y;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment