fix: disable Authentik edge compression
This commit is contained in:
parent
91a4ecb706
commit
10e4e6a64b
|
|
@ -114,10 +114,7 @@ server {
|
||||||
add_header Referrer-Policy "strict-origin-when-cross-origin";
|
add_header Referrer-Policy "strict-origin-when-cross-origin";
|
||||||
add_header Permissions-Policy "geolocation=(), microphone=()";
|
add_header Permissions-Policy "geolocation=(), microphone=()";
|
||||||
|
|
||||||
gzip on;
|
gzip off;
|
||||||
gzip_comp_level 2;
|
|
||||||
gzip_min_length 1000;
|
|
||||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
|
|
||||||
|
|
||||||
location = /edge-health {
|
location = /edge-health {
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|
@ -146,6 +143,7 @@ server {
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
proxy_set_header X-Forwarded-Port 443;
|
proxy_set_header X-Forwarded-Port 443;
|
||||||
proxy_set_header CF-Connecting-IP $http_cf_connecting_ip;
|
proxy_set_header CF-Connecting-IP $http_cf_connecting_ip;
|
||||||
|
proxy_set_header Accept-Encoding "";
|
||||||
expires off;
|
expires off;
|
||||||
add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0" always;
|
add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0" always;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue