From d3a586e1542e8db051e34fd32697a0509fd233bd Mon Sep 17 00:00:00 2001 From: fro Date: Tue, 28 Oct 2025 16:50:29 -0500 Subject: [PATCH] + default.html --- scr/7_add_www_placeholder.sh | 7 ++++++- www/default.html | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 www/default.html diff --git a/scr/7_add_www_placeholder.sh b/scr/7_add_www_placeholder.sh index 69e9fe6..f54adbc 100755 --- a/scr/7_add_www_placeholder.sh +++ b/scr/7_add_www_placeholder.sh @@ -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}/*.* diff --git a/www/default.html b/www/default.html new file mode 100644 index 0000000..72903e0 --- /dev/null +++ b/www/default.html @@ -0,0 +1,21 @@ + +p_q + + + +
p_q
+ +