animeic před 2 roky
rodič
revize
3eac657f2c
2 změnil soubory, kde provedl 4 přidání a 14 odebrání
  1. 3 14
      nginx/conf.d/default.conf
  2. 1 0
      readme.md

+ 3 - 14
nginx/conf.d/default.conf

@@ -39,26 +39,15 @@ server {
     #    deny  all;
     #}
 
-    location /oilseal-train/ {
+    location /train/ {
        proxy_pass  http://oilseal-train:7105/oilseal-train/;
     }  
 
-    location /customer/ {
-       proxy_pass  http://3dshow-customer:8888/customer/;
+    location /trainUser/ {
+       proxy_pass  http://oilseal-train-user:8908/usercenter/;
     }   
 
-    location /supplyUser/ {
-       proxy_pass  http://3dshow-supply-user:8908/usercenter/;
-    }   
-
-    location /customerUser/ {
-       proxy_pass  http://3dshow-customer-user:8908/usercenter/;
-    }   
 
-    # 用户接口
-    # location /usercenter/ {
-    #    proxy_pass  http://box-usercenter:8908/usercenter/;
-    # }
 
     #nats-exporter
     # location /natsexporter/ {

+ 1 - 0
readme.md

@@ -3,6 +3,7 @@
 ## api路径
 
 `https://3dqueen.cloud/oilseal/v1/train/`
+`https://3dqueen.cloud/oilseal/v1/trainUser/`
 
 ## 包含服务