integrating latest dashboard changes
This commit is contained in:
@@ -17,7 +17,15 @@ server {
|
||||
proxy_read_timeout 600s;
|
||||
}
|
||||
|
||||
# Bundles carry a content hash in their name; index.html doesn't, so it
|
||||
# must be revalidated or browsers keep running the previous release.
|
||||
location ~* \.(js|css)$ {
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location / {
|
||||
add_header Cache-Control "no-cache";
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user