|
@@ -1,150 +1,150 @@
|
|
-upstream payapi-svc {
|
|
|
|
- server payapi-svc:8092;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-server {
|
|
|
|
- listen 80;
|
|
|
|
- listen 443 ssl http2;
|
|
|
|
-
|
|
|
|
- #ssl on;
|
|
|
|
- ssl_certificate ssl/xinyueyouxi.com.pem;
|
|
|
|
- ssl_certificate_key ssl/xinyueyouxi.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 order.xinyuesite.com order.xinyueapps.com order.xinyuepage.com h5pay.xinyuepage.com h5pay.xinyueapi.com xpay1.weile.com xpay2.weile.com xpay3.weile.com h5pay.xinyueyouxi.com payapi.xinyueyouxi.com payback.xinyueyouxi.com xpay1.xinyueyouxi.com xpay2.xinyueyouxi.com xpay3.xinyueyouxi.com ipay.xinyueapi.com ipay.88xinnian.com ap.88xinnian.com xpay3.xinyuesite.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://payapi-svc;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- location /favicon.ico {
|
|
|
|
- log_not_found 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 xpay.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://payapi-svc;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- location /favicon.ico {
|
|
|
|
- log_not_found off;
|
|
|
|
- access_log off;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-server {
|
|
|
|
- listen 80;
|
|
|
|
- listen 443 ssl http2;
|
|
|
|
-
|
|
|
|
- #ssl on;
|
|
|
|
- ssl_certificate ssl/xinyueyouxi.com.pem;
|
|
|
|
- ssl_certificate_key ssl/xinyueyouxi.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 xpaytest.xinyueyouxi.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://yunfan-pay-svc:8081;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- location /favicon.ico {
|
|
|
|
- log_not_found off;
|
|
|
|
- access_log off;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-server {
|
|
|
|
- listen 80;
|
|
|
|
- listen 443 ssl http2;
|
|
|
|
-
|
|
|
|
- #ssl on;
|
|
|
|
- ssl_certificate ssl/xinyueyouxi.com.pem;
|
|
|
|
- ssl_certificate_key ssl/xinyueyouxi.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 xpay-server-test.xinyueyouxi.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://pay-service-svc:8889;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- location /favicon.ico {
|
|
|
|
- log_not_found off;
|
|
|
|
- access_log off;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
|
|
+upstream payapi-svc {
|
|
|
|
+ server payapi-svc:8092;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+server {
|
|
|
|
+ listen 80;
|
|
|
|
+ listen 443 ssl http2;
|
|
|
|
+
|
|
|
|
+ #ssl on;
|
|
|
|
+ ssl_certificate ssl/xinyueyouxi.com.pem;
|
|
|
|
+ ssl_certificate_key ssl/xinyueyouxi.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 h5pay.xinyuepage.com h5pay.xinyueapi.com xpay1.weile.com xpay2.weile.com xpay3.weile.com h5pay.xinyueyouxi.com payapi.xinyueyouxi.com payback.xinyueyouxi.com xpay1.xinyueyouxi.com xpay2.xinyueyouxi.com xpay3.xinyueyouxi.com ipay.xinyueapi.com ipay.88xinnian.com ap.88xinnian.com xpay3.xinyuesite.com xpay1.xinyuesite.com xpay2.xinyuesite.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://payapi-svc;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ location /favicon.ico {
|
|
|
|
+ log_not_found 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 xpay.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://payapi-svc;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ location /favicon.ico {
|
|
|
|
+ log_not_found off;
|
|
|
|
+ access_log off;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+server {
|
|
|
|
+ listen 80;
|
|
|
|
+ listen 443 ssl http2;
|
|
|
|
+
|
|
|
|
+ #ssl on;
|
|
|
|
+ ssl_certificate ssl/xinyueyouxi.com.pem;
|
|
|
|
+ ssl_certificate_key ssl/xinyueyouxi.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 xpaytest.xinyueyouxi.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://yunfan-pay-svc:8081;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ location /favicon.ico {
|
|
|
|
+ log_not_found off;
|
|
|
|
+ access_log off;
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+server {
|
|
|
|
+ listen 80;
|
|
|
|
+ listen 443 ssl http2;
|
|
|
|
+
|
|
|
|
+ #ssl on;
|
|
|
|
+ ssl_certificate ssl/xinyueyouxi.com.pem;
|
|
|
|
+ ssl_certificate_key ssl/xinyueyouxi.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 xpay-server-test.xinyueyouxi.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://pay-service-svc:8889;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ location /favicon.ico {
|
|
|
|
+ log_not_found off;
|
|
|
|
+ access_log off;
|
|
|
|
+ }
|
|
|
|
+}
|