Browse Source

修改dockerfile配置和logo

zq940222 2 months ago
parent
commit
917739c66b
1 changed files with 8 additions and 2 deletions
  1. 8 2
      docker/conf/nginx/conf.d/wkcrm.conf

+ 8 - 2
docker/conf/nginx/conf.d/wkcrm.conf

@@ -3,9 +3,15 @@ server {
     server_name  localhost 47.103.60.8;
     client_max_body_size 100M;
 
-    location /api/ {
-            proxy_pass   http://localhost:8443;
+    location / {
+        root   /usr/share/nginx/html;
+        index  index.html index.htm;
+
+        location /api/ {
+                    proxy_pass   http://localhost:8443;
+            }
     }
+
 }