From 4c1f2e8f09d384611c4fb654ceefe0f9144f4245 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 29 Mar 2018 13:06:17 +0000 Subject: [PATCH] Fix copy of vhost file from host --- dockerfiles/httpd/2.4/debian-9/vhost.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/httpd/2.4/debian-9/vhost.sh b/dockerfiles/httpd/2.4/debian-9/vhost.sh index 95cf1c1..aaca2c4 100644 --- a/dockerfiles/httpd/2.4/debian-9/vhost.sh +++ b/dockerfiles/httpd/2.4/debian-9/vhost.sh @@ -23,6 +23,7 @@ fi # --- Copy Vhosts files VHOSTS='000-default.conf test.conf' +cp -vf /sites-available/*.conf /etc/apache2/sites-available/ cd /etc/apache2/sites-available/ for f in *.conf; do if [ $f = "000-default.conf" ]; then @@ -35,7 +36,6 @@ for f in *.conf; do continue fi if [ -f $f ]; then - cp -vf /sites-available/$f /etc/apache2/sites-available/ VHOSTS+=" $f" fi done;