Commit 3211b6e2 by wutong

elastic-jobCD/CI

parent ca3fff89
...@@ -61,34 +61,16 @@ http { ...@@ -61,34 +61,16 @@ http {
server { server {
listen 2181; listen 80;
server_name 111.230.84.223;
location / {
proxy_pass http://172.31.255.107:2181;
}
location = /50x.html {
root html;
}
}
server {
listen 2182;
server_name 111.230.84.223; server_name 111.230.84.223;
location / { location /job {
add_header 'Access-Control-Allow-Origin' '*'; proxy_pass http://172.31.255.252:8088;
add_header 'Access-Control-Allow-Credentials' 'true';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
proxy_set_header Cookie $http_cookie;
proxy_cookie_domain domino_server nginx_server;
proxy_pass http://data.bailuntec.com;
} }
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;
......
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