fix: disable edge cache for Authentik
Homelab Main / validate (push) Successful in 21s Details
Homelab Main / running-update (push) Successful in 8s Details
Homelab Main / debian-ops (push) Successful in 1m13s Details

This commit is contained in:
juvenal.diaz 2026-09-29 20:25:21 -06:00
parent b719c5ac77
commit 91a4ecb706
1 changed files with 5 additions and 1 deletions

View File

@ -129,6 +129,9 @@ server {
client_max_body_size 64m;
proxy_pass http://authentik_backend;
proxy_cache off;
proxy_no_cache 1;
proxy_cache_bypass 1;
proxy_http_version 1.1;
proxy_buffering off;
proxy_request_buffering off;
@ -143,7 +146,8 @@ server {
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header CF-Connecting-IP $http_cf_connecting_ip;
add_header Cache-Control "no-store";
expires off;
add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0" always;
}
}