123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- server {
- listen 80;
- listen 443 ssl http2;
- #ssl on;
- ssl_certificate ssl/xinyuepp.cn.pem;
- ssl_certificate_key ssl/xinyuepp.cn.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;
- 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;
- charset utf-8;
- server_name uplogapi.xinyuepp.cn;
- location /uplog/ {
- proxy_pass http://uplogapi-svc:8020;
- }
- }
- server {
- listen 80;
- listen 443 ssl http2;
- #ssl on;
- ssl_certificate ssl/xinyuepp.cn.pem;
- ssl_certificate_key ssl/xinyuepp.cn.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.xinyuepp.cn ;
- 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 {
- listen 80;
- listen 443 ssl http2;
- #ssl on;
- ssl_certificate ssl/xinyuepp.cn.pem;
- ssl_certificate_key ssl/xinyuepp.cn.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;
- 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;
- charset utf-8;
- server_name xapi.xinyuepp.cn xapi2.xinyuepp.cn xapi.xinyuepp.cn xapi2.xinyuepp.cn;
- location / {
- proxy_pass http://wapi-svc:8094;
- }
-
- #location /qrcode/create {
- # proxy_pass http://qrcode-svc:8090;
- #}
- #location ~ ^/new_record {
- # proxy_pass http://record-svc:9001;
- #}
- location ~ ^/(new_msg|new_notice)/ {
- proxy_pass http://msg-svc:9001;
- }
- #location ~ ^/(match|welfare)/ {
- # proxy_pass http://match-svc:9001;
- #}
- #location ~ ^/new_feedback/ {
- # proxy_pass http://feedback-svc:9001;
- #}
- location ~ ^/new_user/ {
- proxy_pass http://user-svc:9001;
- }
- #location ~ ^/new_moston/ {
- ## proxy_pass http://moston-svc:9001;
- #}
- #location ~ ^/new_acquisition/ {
- # proxy_pass http://acquisit-svc:9001;
- # }
- location ~ ^/active/goods/ {
- proxy_pass http://goods-svc:9001;
- }
- location ~ ^/active/ {
- proxy_pass http://active-svc:9001;
- }
- #location ~ ^/applecheckmode/ {
- # proxy_pass http://applecheckmode-svc:9001;
- #}
- #location ~ ^/shake/ {
- # proxy_pass http://shake-svc:9001;
- #}
- location ~ ^/joygift/ {
- proxy_pass http://joygift-svc:9001;
- }
- #location ~ ^/battle/ {
- # proxy_pass http://battle-svc:9001;
- #}
- location ~ ^/shareaward/ {
- proxy_pass http://shareaward-svc:9001;
- }
- #location ~ ^/precious/ {
- # proxy_pass http://precious-svc:9001;
- #}
- }
|