From 6e1ae17bbb18a84d8e31c17e9a691f1be51b3ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaudia=20Pa=C5=82kowska?= Date: Tue, 19 Mar 2019 12:41:46 +0100 Subject: [PATCH] OLMIS-4531: Disabled compressing on reverse proxy because it was added on the application server --- openlmis.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openlmis.conf b/openlmis.conf index e564093..7d53fda 100644 --- a/openlmis.conf +++ b/openlmis.conf @@ -24,9 +24,7 @@ log_format upstream_time '$remote_addr - $remote_user [$time_local] ' server { listen 80; - gzip on; - gzip_min_length 1000; - gzip_types application/json text/plain; + gzip off; access_log {{ env "NGINX_LOG_DIR" }}/access.log upstream_time buffer=64k flush=30s; error_log {{ env "NGINX_LOG_DIR" }}/error.log; server_name {{ env "VIRTUAL_HOST" }};