|
@@ -23,7 +23,7 @@ server {
|
|
|
|
|
|
charset utf-8;
|
|
charset utf-8;
|
|
|
|
|
|
- server_name api.xinyueyouxi.com api.xinyuepg.cn sapi1.xinyueyouxi.com sapi2.xinyueyouxi.com sapi3.xinyueyouxi.com uplogapi.xinyueyouxi.com api.xinyuesite.com uplogapi.xinyuesite.com uplogapi.yukeonline.com;
|
|
|
|
|
|
+ server_name uplogapi.yukeonline.com;
|
|
|
|
|
|
location /uplog/ {
|
|
location /uplog/ {
|
|
proxy_pass http://uplogapi-svc:8020;
|
|
proxy_pass http://uplogapi-svc:8020;
|
|
@@ -47,7 +47,7 @@ server {
|
|
|
|
|
|
charset utf-8;
|
|
charset utf-8;
|
|
|
|
|
|
- server_name region.yukeonline.com regiontest.xinyueyouxi.com region.xinyuepg.cn region.xinyueyouxi.com region.xinyuesite.com region.xinyueapps.com region.xinyuepage.com;
|
|
|
|
|
|
+ server_name region.yukeonline.com ;
|
|
|
|
|
|
location / {
|
|
location / {
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
@@ -65,42 +65,7 @@ server {
|
|
access_log off;
|
|
access_log off;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-server {
|
|
|
|
- listen 80;
|
|
|
|
- listen 443 ssl http2;
|
|
|
|
-
|
|
|
|
- #ssl on;
|
|
|
|
- ssl_certificate ssl/xinyueapi.com.pem;
|
|
|
|
- ssl_certificate_key ssl/xinyueapi.com.key;
|
|
|
|
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
|
|
- ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
|
|
|
|
- ssl_prefer_server_ciphers on;
|
|
|
|
- ssl_session_timeout 5m;
|
|
|
|
-
|
|
|
|
- add_header Access-Control-Allow-Origin *;
|
|
|
|
- add_header Access-Control-Allow-Headers X-Requested-With;
|
|
|
|
- add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
|
|
|
|
-
|
|
|
|
- charset utf-8;
|
|
|
|
|
|
|
|
- server_name region.xinyueapi.com;
|
|
|
|
-
|
|
|
|
- location / {
|
|
|
|
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
- proxy_set_header Remote_addr $remote_addr;
|
|
|
|
- proxy_set_header X-Real_IP $remote_addr;
|
|
|
|
- proxy_set_header Host $host;
|
|
|
|
-
|
|
|
|
- proxy_redirect off;
|
|
|
|
- proxy_http_version 1.1;
|
|
|
|
- proxy_pass http://getregioninfo-svc:8100;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- location /favicon.ico {
|
|
|
|
- log_not_found off;
|
|
|
|
- access_log off;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
server {
|
|
server {
|
|
listen 80;
|
|
listen 80;
|
|
listen 443 ssl http2;
|
|
listen 443 ssl http2;
|
|
@@ -126,7 +91,7 @@ server {
|
|
|
|
|
|
charset utf-8;
|
|
charset utf-8;
|
|
|
|
|
|
- server_name wapi.xinyuesite.com wapi.xinyueapps.com wapi.xinyuepage.com xapi1.weile.com xapi2.weile.com xapi3.weile.com xapi1.xinyueyouxi.com xapi2.xinyueyouxi.com xapi3.xinyueyouxi.com iapi.xinyueapi.com iapi.88xinnian.com ai.88xinnian.com xapi3.xinyuesite.com xapi1.xinyuesite.com xapi2.xinyuesite.com xapi2.yukeonline.com;
|
|
|
|
|
|
+ server_name xapi2.yukeonline.com;
|
|
|
|
|
|
location / {
|
|
location / {
|
|
proxy_pass http://wapi-svc:8094;
|
|
proxy_pass http://wapi-svc:8094;
|
|
@@ -191,7 +156,7 @@ server {
|
|
|
|
|
|
charset utf-8;
|
|
charset utf-8;
|
|
|
|
|
|
- server_name xapi.xinyueapi.com xapi.xinyuesite.com xapi.xinyuepg.cn xapi.yukeonline.com;
|
|
|
|
|
|
+ server_name xapi.yukeonline.com;
|
|
|
|
|
|
location / {
|
|
location / {
|
|
proxy_pass http://wapi-svc:8094;
|
|
proxy_pass http://wapi-svc:8094;
|