Forbid caching / for fuel-web

New header 'expires -1' forbids caching of / (index.html)
to avoid caching issues which may exist after master node
upgrade. This header is not needed for /static - for JS and
other assets Fuel UI uses its own cachebusting mechanism.

Change-Id: Ic9a199394a0167a4da977b5d135caf676e7d2b67
Closes-Bug: #1475310
This commit is contained in:
Vitaly Kramskikh 2015-12-08 17:46:51 +03:00
parent 134d640af1
commit 6cd887423d
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ server {
}
location / {
expires -1;
root <%= @staticdir %>;
}