This commit is contained in:
@@ -482,6 +482,16 @@ server {
|
||||
|
||||
|
||||
# Принудительно разрешаем прокидывать оригинальные заголовки типов от бэкенда
|
||||
proxy_pass_header Content-Type;
|
||||
#proxy_pass_header Content-Type;
|
||||
|
||||
|
||||
# Заставляем Angie прозрачно прокидывать сессионные куки из HTTP в HTTPS
|
||||
proxy_cookie_path / "/; Secure; SameSite=Lax";
|
||||
|
||||
#===================================================================
|
||||
# СБРОС КЭША: Запрещаем браузеру запоминать "битые" HTML вместо JS
|
||||
#===================================================================
|
||||
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
|
||||
expires off;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user