From a0ea9552688c7561324ca7979aa0b98c71727fea Mon Sep 17 00:00:00 2001 From: hogweed1 Date: Mon, 2 Nov 2026 18:52:41 +1000 Subject: [PATCH] well, --- files/angie/lb1.guaranteedstruggle.host.conf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/files/angie/lb1.guaranteedstruggle.host.conf b/files/angie/lb1.guaranteedstruggle.host.conf index 3aac9b7..96cee44 100644 --- a/files/angie/lb1.guaranteedstruggle.host.conf +++ b/files/angie/lb1.guaranteedstruggle.host.conf @@ -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; } } \ No newline at end of file