stanley-king 2 年之前
父节点
当前提交
19e07278fd

+ 7 - 0
docker/compose/xyzt/conf/nginx/nginx.conf

@@ -66,6 +66,13 @@ http
 	        try_files $uri $uri/ /mshop/index.html;
         }
 
+        location /chinatelecom {
+            root $folder_name;
+            autoindex on;
+            index  index.html index.htm index.php;
+            try_files $uri $uri/ /client/chinatelecom/index.html;
+        }
+
         location /plot {
             root $folder_name;
             proxy_pass         http://docker.hostip:5000;

+ 7 - 0
docker/compose/yl/conf/nginx/nginx.conf

@@ -70,6 +70,13 @@ http
 	        try_files $uri $uri/ /mshop/index.html;
         }
 
+        location /chinatelecom {
+            root $folder_name;
+            autoindex on;
+            index  index.html index.htm index.php;
+            try_files $uri $uri/ /client/chinatelecom/index.html;
+        }
+
         location /plot {
             deny all;
             return 403;

+ 3 - 2
docker/compose/yl/ylacc/docker-compose.yml

@@ -11,6 +11,7 @@ services:
       - ../conf/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
       - /nfs/ylupload:/var/www/html/data/upload
       - /nfs/ylmerchant:/var/www/html/merchant
+      - /nfs/ylother:/var/www/html/other
     container_name: "yl-accnginx"
     command: [nginx,'-g','daemon off;']
     extra_hosts:
@@ -45,9 +46,9 @@ services:
     volumes:
       - ../../../../:/var/www/html
       - ../conf/etc/localtime:/etc/localtime:ro
-      - ../conf/php/php-debug.ini:/usr/local/etc/php/php.ini
+      - ../conf/php/php.ini:/usr/local/etc/php/php.ini
       - /mnt/upload:/var/www/html/data/upload
-      - /mnt/shoplog:/var/www/html/data/log
+      - /mnt/yllog:/var/www/html/data/log
       - ../conf/php/vapi-spwan-start:/usr/local/bin/docker-spwan-start
     container_name: "panda-vapi"
     command: ['docker-spwan-start']