fix(cache-busting): Support hashed asset names
This commit is contained in:
parent
c5c6602232
commit
006d7be396
|
@ -5,6 +5,6 @@
|
|||
# Read also this: github.com/h5bp/html5-boilerplate/wiki/cachebusting
|
||||
# This is not included by default, because it'd be better if you use the build
|
||||
# script to manage the file names.
|
||||
location ~* (.+)\.(?:\d+)\.(js|css|png|jpg|jpeg|gif)$ {
|
||||
location ~* (.+)\.(?:[0-9A-Za-z]+)\.(js|css|png|jpg|jpeg|gif)$ {
|
||||
try_files $uri $1.$2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue