prevent caching of main doc to ensure logged out detection is processed

This commit is contained in:
Jason Ertel
2026-02-26 16:04:43 -05:00
parent 039e8db85f
commit fcad82c4d4

View File

@@ -181,7 +181,7 @@ http {
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1.2 TLSv1.3;
location ~* (^/login/.*|^/js/.*|^/css/.*|^/images/.*) {
location ~* (^/login/.*|^/js/.*|^/css/.*|^/images/.*|^/pages/.*|^/docs/.*) {
proxy_pass http://{{ GLOBALS.manager }}:9822;
proxy_read_timeout 90;
proxy_connect_timeout 90;
@@ -213,6 +213,9 @@ http {
proxy_buffering off;
proxy_cache off;
proxy_request_buffering off;
add_header Cache-Control "no-cache, no-store, must-revalidate";
add_header Pragma "no-cache";
add_header Expires "0";
}
location ~ ^/auth/.*?(login|oidc/callback) {