+ default.html
This commit is contained in:
@@ -22,7 +22,12 @@ base_url_www=https://gt.op.fo/fro/srv-pub/raw/branch/trunk/www
|
|||||||
|
|
||||||
cd /tmp/
|
cd /tmp/
|
||||||
wget -O favicon.ico ${base_url_www}/favicon.ico
|
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
|
wget -O robots.txt ${base_url_www}/robots.txt
|
||||||
cp favicon.ico index.html robots.txt /var/www/${domain}
|
cp favicon.ico index.html robots.txt /var/www/${domain}
|
||||||
chown ${username}:${username} /var/www/${domain}/*.*
|
chown ${username}:${username} /var/www/${domain}/*.*
|
||||||
|
|||||||
21
www/default.html
Normal file
21
www/default.html
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<html>
|
||||||
|
<head><title>p_q</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: #000;
|
||||||
|
font-size: 150px;
|
||||||
|
font-family: "Arial";
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.container {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%) translateY(-50%);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">p_q</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user