浏览代码

更新 'conf.d/sharebms2.conf'

mengqingchuang 4 年之前
父节点
当前提交
367d2b08c9
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      conf.d/sharebms2.conf

+ 5 - 0
conf.d/sharebms2.conf

@@ -37,5 +37,10 @@ server {
         proxy_pass http://sharebms2-svc:9191;
         client_max_body_size 10m;
     }
+    location /share-bms/ {
+        root /usr/share/nginx/html//shareBms/;
+        try_files $uri $uri/ /index.html;
+        #index index.html;
+    }
     
 }