aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuabing Zhao <zhaohuabing@gmail.com>2018-11-13 10:46:43 +0800
committerHuabing Zhao <zhaohuabing@gmail.com>2018-11-13 11:00:46 +0800
commita67ab2dd5ebfba2ee9116f4bf0d1de2bb82220ab (patch)
tree29601e20f45031d3876cea9859e8761da4f40331
parent15a511336dbaaf16470c77ef730b6b33241d92f6 (diff)
Bugfix: can't access customized service
Issue-ID: MSB-301 Change-Id: I72e9457e228492d9cdd3c61bf8c2305f5c9bf54a Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
-rw-r--r--openresty-ext/src/assembly/resources/openresty/nginx/msb-enabled/msb.conf4
1 files changed, 2 insertions, 2 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 bb98462..48787a0 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
@@ -24,8 +24,8 @@ 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 $svc_name;
+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 "";