adding else back in
This commit is contained in:
@@ -18,6 +18,8 @@ fi
|
|||||||
# Set custom webroot
|
# Set custom webroot
|
||||||
if [ ! -z "$WEBROOT" ]; then
|
if [ ! -z "$WEBROOT" ]; then
|
||||||
sed -i "s#root /var/www/html;#root ${WEBROOT};#g" /etc/nginx/sites-available/default.conf
|
sed -i "s#root /var/www/html;#root ${WEBROOT};#g" /etc/nginx/sites-available/default.conf
|
||||||
|
else
|
||||||
|
webroot=/var/www/html
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setup git variables
|
# Setup git variables
|
||||||
|
|||||||
Reference in New Issue
Block a user