stanley-king il y a 1 an
Parent
commit
81f101a4be

+ 1 - 1
docker/compose/youjun/conf/nginx/nginx_admin.conf

@@ -88,7 +88,7 @@ http
         location ~ \.php$ {
 	        add_header Cache-Control no-store;
             root           $folder_name;
-            fastcgi_pass   docker.hostip:9000;
+            fastcgi_pass   websrv:9000;
             fastcgi_index  index.php;
             fastcgi_param  SCRIPT_FILENAME  $folder_name$fastcgi_script_name;
             fastcgi_buffer_size  1024K;

+ 0 - 2
docker/compose/youjun/yjadmin/docker-compose.yml

@@ -17,8 +17,6 @@ services:
 
   websrv:
     image: php-fpm:alpine
-    ports:
-      - "9000:9000"
     volumes:
       - ../../../../:/var/www/html
       - ../conf/etc/localtime:/etc/localtime:ro