Преглед на файлове

更新 'conf.d/sharebms2.conf'

mengqingchuang преди 4 години
родител
ревизия
ce6da95ec1
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  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;