Browse Source

更新 'conf.d/sharebms2.conf'

mengqingchuang 4 năm trước cách đây
mục cha
commit
afe0a56e17
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      conf.d/sharebms2.conf

+ 2 - 1
conf.d/sharebms2.conf

@@ -27,10 +27,11 @@ server {
     charset utf-8;
 
     server_name share-console-debug.xinyueyouxi.com;
+    
+    rewrite    ^(.*)share-bms(.*)$    $1shareBms$2;
     location / {
         root /usr/share/nginx/html/;
         try_files $uri $uri/ /index.html;
-        rewrite    ^(.*)share-bms(.*)$    $1shareBms$2;
         #index index.html;
     }
     location /sharebms/v2/ {