mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 06:44:06 +02:00
Update nginx config to turn off gzip
Disable gzip compression in nginx configuration.
This commit is contained in:
@@ -14,6 +14,7 @@ echo "Adapting for ingress"
|
|||||||
|
|
||||||
# Remove backend api url to use the base path
|
# Remove backend api url to use the base path
|
||||||
sed -i "s|'/server'|''|g" /app/back/app.conf
|
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
|
sed -i "s|(\$is_trusted != \"TRUSTED\")|(\$is_trusted = \"AAA\")|g" /services/config/nginx/netalertx.conf.template
|
||||||
|
|
||||||
# Adapt nginx configuration
|
# Adapt nginx configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user