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

更新 'conf.d/sharebms2.conf'

mengqingchuang преди 4 години
родител
ревизия
bd014aeec3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      conf.d/sharebms2.conf

+ 1 - 1
conf.d/sharebms2.conf

@@ -28,10 +28,10 @@ server {
 
     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/ {