Commit 3f749fa8 by wutong

CD/CI

parent 1666e500
...@@ -63,34 +63,7 @@ http { ...@@ -63,34 +63,7 @@ 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;
}
location = /50x.html {
root html;
}
}
server {
listen 80;
server_name 111.230.84.223;
location /zookeeper/04 {
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;
}
}
server {
listen 80;
server_name 111.230.84.223;
location /zookeeper/03 {
proxy_pass http://172.31.3.53:2181; proxy_pass http://172.31.3.53:2181;
} }
location = /50x.html { location = /50x.html {
...@@ -102,43 +75,17 @@ http { ...@@ -102,43 +75,17 @@ http {
server { server {
listen 80; listen 80;
server_name 111.230.84.223; server_name 111.230.84.223;
location /zookeeper/02 { location /a{
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_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.3.47:2181; proxy_pass http://172.31.255.107: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 { location = /50x.html {
root 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