Commit 3f749fa8 by wutong

CD/CI

parent 1666e500
...@@ -63,8 +63,8 @@ http { ...@@ -63,8 +63,8 @@ http {
server { server {
listen 80; listen 80;
server_name 111.230.84.223; server_name 111.230.84.223;
location /data { location /zookeeper {
proxy_pass http://data.bailuntec.com; proxy_pass http://172.31.3.53:2181;
} }
location = /50x.html { location = /50x.html {
root html; root html;
...@@ -75,7 +75,7 @@ http { ...@@ -75,7 +75,7 @@ http {
server { server {
listen 80; listen 80;
server_name 111.230.84.223; server_name 111.230.84.223;
location /zookeeper/04 { 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;
...@@ -87,58 +87,5 @@ http { ...@@ -87,58 +87,5 @@ http {
} }
} }
server {
listen 80;
server_name 111.230.84.223;
location /zookeeper/03 {
proxy_pass http://172.31.3.53:2181;
}
location = /50x.html {
root html;
}
}
server {
listen 80;
server_name 111.230.84.223;
location /zookeeper/02 {
proxy_pass http://172.31.3.54:2181;
}
location = /50x.html {
root html;
}
}
server {
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.47:2181;
}
location = /50x.html {
root html;
}
}
server {
listen 80;
server_name 111.230.84.223;
location / {
root /usr/share/nginx/html;
index index.html;
}
location = /50x.html {
root html;
}
}
include servers/*; 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