попытка победить кэш
This commit is contained in:
@@ -33,6 +33,14 @@ http {
|
||||
add_header Expires "0";
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# Для файла index.html – тоже не кэшируем
|
||||
location = /index.html {
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
add_header Pragma "no-cache";
|
||||
add_header Expires "0";
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# Основной SPA fallback: все неизвестные пути отдаём через index.html
|
||||
location / {
|
||||
|
||||
Reference in New Issue
Block a user