Update nginx config to turn off gzip

Disable gzip compression in nginx configuration.
This commit is contained in:
Alexandre
2026-03-19 09:36:10 +01:00
committed by GitHub
parent 9583d2a779
commit 10c52ec37f

View File

@@ -14,6 +14,7 @@ echo "Adapting for ingress"
# Remove backend api url to use the base path
sed -i "s|'/server'|''|g" /app/back/app.conf
sed -i "s|gzip on|gzip off|g" /services/config/nginx/netalertx.conf.template
sed -i "s|(\$is_trusted != \"TRUSTED\")|(\$is_trusted = \"AAA\")|g" /services/config/nginx/netalertx.conf.template
# Adapt nginx configuration