From 0f0609bcb8be35fc2a7a9d6154b4a21cb9712179 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 14 Jan 2022 19:31:12 +0100 Subject: [PATCH] try enabling gzip --- .../bare_metal/nginx/sites-available/gradido.conf.ssl.template | 1 + .../bare_metal/nginx/sites-available/gradido.conf.template | 1 + .../nginx/sites-available/update-page.conf.ssl.template | 2 ++ .../bare_metal/nginx/sites-available/update-page.conf.template | 2 ++ 4 files changed, 6 insertions(+) diff --git a/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template b/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template index 845cf56ad..ff098a793 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.ssl.template @@ -24,6 +24,7 @@ server { #include /etc/nginx/common/ssl.conf; #gzip_static on; + gzip on; # Legacy URLS set $REWRITE_LEGACY_URLS "$NGINX_REWRITE_LEGACY_URLS"; diff --git a/deployment/bare_metal/nginx/sites-available/gradido.conf.template b/deployment/bare_metal/nginx/sites-available/gradido.conf.template index e76140b56..9464f3a8d 100644 --- a/deployment/bare_metal/nginx/sites-available/gradido.conf.template +++ b/deployment/bare_metal/nginx/sites-available/gradido.conf.template @@ -9,6 +9,7 @@ server { #include /etc/nginx/common/ssl.conf; #gzip_static on; + gzip on; # Legacy URLS set $REWRITE_LEGACY_URLS "$NGINX_REWRITE_LEGACY_URLS"; diff --git a/deployment/bare_metal/nginx/sites-available/update-page.conf.ssl.template b/deployment/bare_metal/nginx/sites-available/update-page.conf.ssl.template index 851d5691d..d2205c883 100644 --- a/deployment/bare_metal/nginx/sites-available/update-page.conf.ssl.template +++ b/deployment/bare_metal/nginx/sites-available/update-page.conf.ssl.template @@ -22,6 +22,8 @@ server { include /etc/nginx/common/protect.conf; include /etc/nginx/common/protect_add_header.conf; + gzip on; + root $NGINX_UPDATE_PAGE_ROOT; index updating.html; diff --git a/deployment/bare_metal/nginx/sites-available/update-page.conf.template b/deployment/bare_metal/nginx/sites-available/update-page.conf.template index 7b7dd5c21..79fc22de9 100644 --- a/deployment/bare_metal/nginx/sites-available/update-page.conf.template +++ b/deployment/bare_metal/nginx/sites-available/update-page.conf.template @@ -7,6 +7,8 @@ server { include /etc/nginx/common/protect.conf; include /etc/nginx/common/protect_add_header.conf; + gzip on; + root $NGINX_UPDATE_PAGE_ROOT; index updating.html;