From 952f62c061333873ba165467060cad8bbd974e67 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 26 Oct 2020 17:06:47 +0100 Subject: [PATCH] Do not enable gzip --- conf/nginx.conf | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index cff60cc..56b0305 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,15 +4,6 @@ location / { rewrite ^ https://$server_name$request_uri? permanent; } - gzip on; - gzip_disable "msie6"; - gzip_vary on; - gzip_proxied any; - gzip_comp_level 6; - gzip_buffers 16 8k; - gzip_http_version 1.1; - gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/activity+json application/atom+xml; - # the nginx default is 1m, not enough for large media uploads client_max_body_size 16m; @@ -49,4 +40,4 @@ location / { location @error { root __FINALPATH__/mobilizon/priv/errors; try_files /error.html 502; -} \ No newline at end of file +}