Skip to content

Commit 5776a86

Browse files
committed
changes
1 parent cea9e4c commit 5776a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_site.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ USERNAME='www-data'
4040
CONFIG=$NGINX_ALL_VHOSTS/$DOMAIN.conf
4141
sudo cp $CURRENT_DIR/virtual_host.template $CONFIG
4242
sudo $SED -i "s/DOMAIN/$DOMAIN/g" $CONFIG
43-
sudo $SED -i "s#ROOT#$WEB_DIR/$HOME_DIR\/public_html#g" $CONFIG
43+
sudo $SED -i "s/ROOT/$WEB_DIR/$HOME_DIR\/public_html/g" $CONFIG
4444

4545
#sudo usermod -aG $USERNAME nginx
4646
#sudo chmod g+rxs $WEB_DIR/$USERNAME

0 commit comments

Comments
 (0)