We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cea9e4c commit 5776a86Copy full SHA for 5776a86
create_site.sh
@@ -40,7 +40,7 @@ USERNAME='www-data'
40
CONFIG=$NGINX_ALL_VHOSTS/$DOMAIN.conf
41
sudo cp $CURRENT_DIR/virtual_host.template $CONFIG
42
sudo $SED -i "s/DOMAIN/$DOMAIN/g" $CONFIG
43
-sudo $SED -i "s#ROOT#$WEB_DIR/$HOME_DIR\/public_html#g" $CONFIG
+sudo $SED -i "s/ROOT/$WEB_DIR/$HOME_DIR\/public_html/g" $CONFIG
44
45
#sudo usermod -aG $USERNAME nginx
46
#sudo chmod g+rxs $WEB_DIR/$USERNAME
0 commit comments