Commit 61d7c39f by wutong

elastic-jobCD/CI

parent 3b36c10f
......@@ -59,24 +59,11 @@ http {
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 {
listen 80;
server_name 111.230.84.223;
location / {
proxy_pass http://172.31.3.152:8088;
proxy_pass http://172.31.255.252:8088;
}
location = /50x.html {
root html;
......@@ -87,11 +74,11 @@ http {
listen 80;
server_name 111.230.84.223;
location /a{
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://172.31.255.107:2181;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://172.31.255.107:2181;
}
location = /50x.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