Browse Source

更新 'payapi-nginx/conf.d/payapi.xinyue.conf'

chenghongxi 4 years ago
parent
commit
d28d898453
1 changed files with 2 additions and 6 deletions
  1. 2 6
      payapi-nginx/conf.d/payapi.xinyue.conf

+ 2 - 6
payapi-nginx/conf.d/payapi.xinyue.conf

@@ -1,7 +1,3 @@
-upstream yunfan-pay-svc {
-    server yunfan-pay-svc:8081;
-}
-
 server {
     listen 80;
     listen 443 ssl http2;
@@ -31,7 +27,7 @@ server {
 
         proxy_redirect off;
         proxy_http_version 1.1;
-        proxy_pass http://yunfan-pay-svc;
+        proxy_pass http://yunfan-pay-svc:8081;
     }
     
     location /favicon.ico {
@@ -67,7 +63,7 @@ server {
 
         proxy_redirect off;
         proxy_http_version 1.1;
-        proxy_pass http://yunfan-pay-svc;
+        proxy_pass http://yunfan-pay-svc:8081;
     }
     
     location /favicon.ico {