From b32558b2ac35a8b8dfa7db8a450722ae6655ab98 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 22 Mar 2019 14:20:09 -0400 Subject: [PATCH] The Hive - Reverse Proxy config --- salt/common/nginx/nginx.conf.so-eval | 1 + salt/common/nginx/nginx.conf.so-master | 1 + 2 files changed, 2 insertions(+) diff --git a/salt/common/nginx/nginx.conf.so-eval b/salt/common/nginx/nginx.conf.so-eval index 77c5e3d48..3b0a0d4a1 100644 --- a/salt/common/nginx/nginx.conf.so-eval +++ b/salt/common/nginx/nginx.conf.so-eval @@ -140,6 +140,7 @@ http { proxy_pass http://{{ masterip }}:9000/thehive/; proxy_read_timeout 90; proxy_connect_timeout 90; + proxy_http_version 1.1; # this is essential for chunked responses to work proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/salt/common/nginx/nginx.conf.so-master b/salt/common/nginx/nginx.conf.so-master index f0338070f..c0eada231 100644 --- a/salt/common/nginx/nginx.conf.so-master +++ b/salt/common/nginx/nginx.conf.so-master @@ -140,6 +140,7 @@ http { proxy_pass http://{{ masterip }}:9000/thehive/; proxy_read_timeout 90; proxy_connect_timeout 90; + proxy_http_version 1.1; # this is essential for chunked responses to work proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;