Commit 9cd374fb by wutong

CD/CI

parent a196e9d0
...@@ -64,7 +64,7 @@ http { ...@@ -64,7 +64,7 @@ http {
listen 2181; listen 2181;
server_name 111.230.84.223; server_name 111.230.84.223;
location / { location / {
proxy_pass http://172.31.3.53:2181; proxy_pass http://172.31.255.107:2181;
} }
location = /50x.html { location = /50x.html {
root html; root html;
...@@ -74,6 +74,13 @@ http { ...@@ -74,6 +74,13 @@ http {
listen 2182; listen 2182;
server_name 111.230.84.223; server_name 111.230.84.223;
location / { location / {
add_header 'Access-Control-Allow-Origin' '*';
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; proxy_pass http://data.bailuntec.com;
} }
location = /50x.html { location = /50x.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