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;