Skip to content

Instantly share code, notes, and snippets.

@RTC1
Created June 27, 2014 15:14
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RTC1/89d7f95555be8cf7d1aa to your computer and use it in GitHub Desktop.
Save RTC1/89d7f95555be8cf7d1aa to your computer and use it in GitHub Desktop.
CacheBuster NGINX Rule 1
location ~* "^(.+)-[0-9a-f]{32}(\.(.*))$" {
try_files $uri $1$2 =404;
}
@raulghm
Copy link

raulghm commented Jul 10, 2014

Nice!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment