Commit 61d7c39f by wutong

elastic-jobCD/CI

parent 3b36c10f
...@@ -59,24 +59,11 @@ http { ...@@ -59,24 +59,11 @@ http {
text/x-cross-domain-policy; text/x-cross-domain-policy;
server {
listen 80;
server_name 111.230.84.223;
location /job {
proxy_pass http://172.31.3.152:8088;
}
location = /50x.html {
root html;
}
}
server { server {
listen 80; listen 80;
server_name 111.230.84.223; server_name 111.230.84.223;
location / { location / {
proxy_pass http://172.31.3.152:8088; proxy_pass http://172.31.255.252:8088;
} }
location = /50x.html { location = /50x.html {
root html; root html;
...@@ -87,11 +74,11 @@ http { ...@@ -87,11 +74,11 @@ http {
listen 80; listen 80;
server_name 111.230.84.223; server_name 111.230.84.223;
location /a{ location /a{
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://172.31.255.107:2181; proxy_pass http://172.31.255.107:2181;
} }
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