Commit 92357fdc by wutong

Zookeeper CD/CI

parent 3cc20797
...@@ -70,30 +70,35 @@ http { ...@@ -70,30 +70,35 @@ http {
} }
} }
server {
listen 80;
server_name 111.230.84.223;
location /zookeeper/04 {
proxy_pass http://172.31.255.107:2181;
}
location = /50x.html {
root html;
}
}
server { server {
listen 80; listen 80;
server_name 111.230.84.223; server_name 111.230.84.223;
location /zookeeper/03 { location /zookeeper/03 {
proxy_redirect off; proxy_pass http://172.31.3.10:2181;
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.184:2181;
} }
location = /50x.html { location = /50x.html {
root html; root html;
} }
} }
server { server {
listen 80; listen 80;
server_name 111.230.84.223; server_name 111.230.84.223;
location /zookeeper/02 { location /zookeeper/02 {
proxy_redirect off; proxy_pass http://172.31.3.11:2181;
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.84:2181;
} }
location = /50x.html { location = /50x.html {
root html; root html;
...@@ -108,7 +113,7 @@ http { ...@@ -108,7 +113,7 @@ http {
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.74:2181; proxy_pass http://172.31.3.9: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