diff --git a/createVhosts.sh b/createVhosts.sh index cedadbe..465985b 100755 --- a/createVhosts.sh +++ b/createVhosts.sh @@ -260,10 +260,10 @@ fi ## Begin issuing certificate ########################################### -echo -n "Checking if /srv/http-content-combined/ exists? " -if ! test -d /srv/http-content-combined; then +echo -n "Checking if /srv/www/http-content-combined/ exists? " +if ! test -d /srv/www/http-content-combined; then echo "Creating..." - mkdir -p /srv/http-content-combined/ + mkdir -p /srv/www/http-content-combined/ else echo "Yes!" fi @@ -292,7 +292,7 @@ server { access_log /var/log/nginx/${_domain}.access.log main; location /.well-known { - root /srv/http-content-combined/; + root /srv/www/http-content-combined/; autoindex on; }