fix: disable edge cache for Authentik
This commit is contained in:
parent
b719c5ac77
commit
91a4ecb706
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue