瀏覽代碼

更新 'k8swebapi-nginx/conf.d/k8swebapi-nginx.conf'

chenghongxi 4 年之前
父節點
當前提交
ed1da75ec1
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      k8swebapi-nginx/conf.d/k8swebapi-nginx.conf

+ 5 - 0
k8swebapi-nginx/conf.d/k8swebapi-nginx.conf

@@ -97,6 +97,11 @@ server {
         proxy_http_version 1.1;
         proxy_pass http://businessweb-svc:8007;
     }
+    location /1 {
+        root /usr/share/nginx/html/businessweb;
+        try_files $uri $uri/ /index.html;
+        #index index.html;
+    }
     
     location /favicon.ico {
         log_not_found off;