aboutsummaryrefslogtreecommitdiffstats
path: root/openresty-ext/src
diff options
context:
space:
mode:
Diffstat (limited to 'openresty-ext/src')
-rw-r--r--openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf b/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf
index 3e7038b..bb98462 100644
--- a/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf
+++ b/openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf
@@ -15,16 +15,17 @@
#
#the maximum allowed size of the client request body,current 10G
-client_max_body_size 10240m;
+client_max_body_size 10240m;
client_body_buffer_size 128k;
-
+
#set conf for proxy pass
proxy_connect_timeout 5s;
proxy_read_timeout 1200s;
proxy_send_timeout 1200s;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-proxy_set_header Host $host:$server_port;
+#proxy_set_header Host $host:$server_port;
+proxy_set_header Host $svc_name;
proxy_buffers 4 16k;
proxy_http_version 1.1;
proxy_set_header Connection "";