Pre-combat-rewrite: Backup current state before comprehensive combat frontend rewrite
This commit is contained in:
10
nginx.conf
10
nginx.conf
@@ -34,14 +34,18 @@ server {
|
||||
add_header Expires "0";
|
||||
}
|
||||
|
||||
# Manifest should be cached for a short time
|
||||
# Manifest should never be cached
|
||||
location /manifest.webmanifest {
|
||||
add_header Cache-Control "max-age=3600";
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
add_header Pragma "no-cache";
|
||||
add_header Expires "0";
|
||||
}
|
||||
|
||||
# SPA fallback - all other requests go to index.html
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
add_header Cache-Control "no-cache";
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
add_header Pragma "no-cache";
|
||||
add_header Expires "0";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user