Commit ee55a21a by wutong

CD/CI

parent 1fb673e1
......@@ -63,6 +63,18 @@ http {
listen 80;
server_name 111.230.84.223;
location / {
root /usr/share/nginx/html;
index index.html;
}
location = /50x.html {
root html;
}
}
server {
listen 80;
server_name 111.230.84.223;
location /data {
proxy_pass http://data.bailuntec.com;
}
location = /50x.html {
......@@ -75,7 +87,11 @@ http {
listen 80;
server_name 111.230.84.223;
location /zookeeper/04 {
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;
......@@ -86,7 +102,7 @@ http {
listen 80;
server_name 111.230.84.223;
location /zookeeper/03 {
proxy_pass http://172.31.3.10:2181;
proxy_pass http://172.31.3.53:2181;
}
location = /50x.html {
root html;
......@@ -98,7 +114,7 @@ http {
listen 80;
server_name 111.230.84.223;
location /zookeeper/02 {
proxy_pass http://172.31.3.11:2181;
proxy_pass http://172.31.3.54:2181;
}
location = /50x.html {
root html;
......@@ -111,28 +127,13 @@ http {
listen 80;
server_name 111.230.84.223;
location /zookeeper/01 {
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.3.9:2181;
proxy_pass http://172.31.3.47:2181;
}
location = /50x.html {
root html;
}
}
server {
listen 80;
server_name 111.230.84.223;
location /zookeeper {
proxy_pass http://172.31.255.125:2181;
}
location = /50x.html {
root html;
}
}
include servers/*;
}
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