Commit 24f2cbb4 authored by tanyang's avatar tanyang

添加szh-test.jiansheku.com

parent 39cb076e
server server
{ {
listen 80; listen 80;
server_name hwszh.jiansheku.com szh.jiansheku.com szh-test.jiansheku.com szhapi.jiansheku.com; server_name hwszh.jiansheku.com szh.jiansheku.com szh-test.jiansheku.com;
index index.php index.html index.htm default.php default.htm default.html; index index.php index.html index.htm default.php default.htm default.html;
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
...@@ -16,14 +16,14 @@ server ...@@ -16,14 +16,14 @@ server
} }
location /prod-api/ { ; location /prod-api/ {
proxy_redirect off; ; proxy_redirect off;
proxy_set_header Host $host; ; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; ; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# 后端服务地址 ; # 后端服务地址
proxy_pass http://localhost:9200; ; proxy_pass http://localhost:9200;
} ; }
location = /50x.html { location = /50x.html {
root html; root html;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment