Skip to content
Snippets Groups Projects
Verified Commit 48e9e89b authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Fix.

parent f08b7bca
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -6,7 +6,7 @@ SITES=(
"nigmatullina.org"
"dbogatov.org"
"blog.dbogatov.org"
"darinagulley.com"
# "darinagulley.com"
# "eu.visasupport.kiev.ua"
# "lp.visasupport.kiev.ua"
# "visasupport.kiev.ua"
......@@ -30,7 +30,7 @@ HOSTS=(
"nigmatullina-org"
"dbogatov-org"
"blog-dbogatov-org"
"darinagulley-com"
# "darinagulley-com"
# 8504
# 8505
# 8506
......
......@@ -6,11 +6,11 @@ function setup {
source sites.sh
for ((i = 0; i < ${#HOSTS[@]}; ++i));
for ((i = 0; i < ${#SITES[@]}; ++i));
do
echo "Generating host ${HOSTS[$i]}..."
echo "Generating host ${SITES[$i]//./-}..."
echo "127.0.0.1 ${HOSTS[$i]}" >> /etc/hosts
echo "127.0.0.1 ${SITES[$i]//./-}" >> /etc/hosts
done
adduser -D www-data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment