From 4b4847e6008d887ee6b35d9e6e36dbecee5eda9b Mon Sep 17 00:00:00 2001 From: intrigus-lgtm <60750685+intrigus-lgtm@users.noreply.github.com> Date: Mon, 12 Jun 2023 23:52:48 +0200 Subject: [PATCH 1/3] Enable gzip for nginx --- conf/nginx/http.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx/http.conf b/conf/nginx/http.conf index ff406135..5c8248ab 100644 --- a/conf/nginx/http.conf +++ b/conf/nginx/http.conf @@ -14,6 +14,8 @@ http { } server { + + gzip on; listen 80; From 4be7b9f8ed72ceec00fe3762c1335528509bd2d4 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Tue, 13 Jun 2023 18:33:35 -0400 Subject: [PATCH 2/3] Move gzip config so location is on top --- conf/nginx/http.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx/http.conf b/conf/nginx/http.conf index 5c8248ab..64e7114f 100644 --- a/conf/nginx/http.conf +++ b/conf/nginx/http.conf @@ -15,10 +15,10 @@ http { server { - gzip on; - listen 80; + gzip on; + client_max_body_size 4G; # Handle Server Sent Events for Notifications From 1ae65d7b3c06e1792a2935f90667f7630fcbe69e Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Tue, 13 Jun 2023 18:34:25 -0400 Subject: [PATCH 3/3] Remove extra space --- conf/nginx/http.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx/http.conf b/conf/nginx/http.conf index 64e7114f..c4be3a12 100644 --- a/conf/nginx/http.conf +++ b/conf/nginx/http.conf @@ -14,7 +14,7 @@ http { } server { - + listen 80; gzip on;