Pārlūkot izejas kodu

更新 'conf.d/sharebms2.conf'

mengqingchuang 4 gadi atpakaļ
vecāks
revīzija
ce6da95ec1
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. 1 3
      conf.d/sharebms2.conf

+ 1 - 3
conf.d/sharebms2.conf

@@ -30,11 +30,9 @@ server {
     location / {
         root /usr/share/nginx/html/;
         try_files $uri $uri/ /index.html;
+        rewrite    ^(.*)share-bms(.*)$    $1shareBms$2;
         #index index.html;
     }
-    location /share-bms {
-		proxy_pass http://share-console-debug.xinyueyouxi.com/shareBms;
-    }
     location /sharebms/v2/ {
         proxy_pass http://sharebms2-svc:9191;
         client_max_body_size 10m;