+ default.html

This commit is contained in:
fro
2025-10-28 16:50:29 -05:00
parent 6bfe2a96fc
commit d3a586e154
2 changed files with 27 additions and 1 deletions

View File

@@ -22,7 +22,12 @@ base_url_www=https://gt.op.fo/fro/srv-pub/raw/branch/trunk/www
cd /tmp/
wget -O favicon.ico ${base_url_www}/favicon.ico
wget -O index.html ${base_url_www}/index.html
if [[ ${domain} == "default" ]]; then
wget -O index.html ${base_url_www}/default.html
else
wget -O index.html ${base_url_www}/index.html
fi
wget -O robots.txt ${base_url_www}/robots.txt
cp favicon.ico index.html robots.txt /var/www/${domain}
chown ${username}:${username} /var/www/${domain}/*.*