geqintan commited on
Commit
08eb0cd
·
1 Parent(s): b904c08
Files changed (1) hide show
  1. nginx.conf +1 -0
nginx.conf CHANGED
@@ -33,6 +33,7 @@ http {
33
  ngx.var.target_path = ngx.re.gsub(ngx.var.target_path, "\\%2F", "/", "ijo")
34
  }
35
  proxy_pass $target_proto://$target_host$target_path;
 
36
  # # 测试到此有没有往下执行
37
  # echo "123123";
38
 
 
33
  ngx.var.target_path = ngx.re.gsub(ngx.var.target_path, "\\%2F", "/", "ijo")
34
  }
35
  proxy_pass $target_proto://$target_host$target_path;
36
+ proxy_set_header Host $target_host;
37
  # # 测试到此有没有往下执行
38
  # echo "123123";
39