Bläddra i källkod

try another docroot

ksieren 3 år sedan
förälder
incheckning
9796b24ae5
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      Dockerfile
  2. 1 1
      rootfs/etc/nginx/nginx.conf

+ 1 - 1
Dockerfile

@@ -89,7 +89,7 @@ EXPOSE 8080
 CMD [ "/bin/docker-entrypoint.sh" ]
 
 # Configure a healthcheck to validate that everything is up&running
-HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1:8080/fpm-ping
+HEALTHCHECK --timeout=10s CMD curl --silent --fail http://localhost:8080/fpm-ping
 
 ENV client_max_body_size=2M \
     clear_env=no \

+ 1 - 1
rootfs/etc/nginx/nginx.conf

@@ -44,7 +44,7 @@ http {
         client_max_body_size ${client_max_body_size};
         client_body_buffer_size 128k;
 
-        root /var/www/html/public;
+        root /var/www/html;
         index index.php index.html;
 
         location / {