Ver código fonte

更新 'conf.d/sharebms2.conf'

mengqingchuang 4 anos atrás
pai
commit
ce6da95ec1
1 arquivos alterados com 1 adições e 3 exclusões
  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;