소스 검색

更新 '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;