From 5ee8490d2054c0f45a4e8ebb2539d783486be8c8 Mon Sep 17 00:00:00 2001 From: tengel Date: Sun, 31 Mar 2024 09:10:57 -0500 Subject: [PATCH] reparent default xyzzy to plugh subdir --- etc/nginx/sites-available/git.xyzzy.ee.conf | 2 +- .../sites-available/git.xyzzy.ee.conf.bootstrap | 2 +- etc/nginx/sites-available/xyzzy.ee.conf | 8 ++++---- etc/nginx/sites-available/xyzzy.ee.conf.bootstrap | 4 ++-- etc/nginx/sites-available/xyzzy.fi.conf | 8 ++++---- etc/nginx/sites-available/xyzzy.fi.conf.bootstrap | 4 ++-- html/{ => plugh}/favicon.png | Bin html/{ => plugh}/favicon.svg | 0 html/{ => plugh}/index.css | 0 html/{ => plugh}/index.html | 0 html/{ => plugh}/robots.txt | 0 11 files changed, 14 insertions(+), 14 deletions(-) rename html/{ => plugh}/favicon.png (100%) rename html/{ => plugh}/favicon.svg (100%) rename html/{ => plugh}/index.css (100%) rename html/{ => plugh}/index.html (100%) rename html/{ => plugh}/robots.txt (100%) diff --git a/etc/nginx/sites-available/git.xyzzy.ee.conf b/etc/nginx/sites-available/git.xyzzy.ee.conf index 4376b0b..be876ed 100644 --- a/etc/nginx/sites-available/git.xyzzy.ee.conf +++ b/etc/nginx/sites-available/git.xyzzy.ee.conf @@ -2,7 +2,7 @@ server { server_name git.xyzzy.ee; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location ~ ^\/(robots\.txt|\.well-known\/security\.txt)$ { diff --git a/etc/nginx/sites-available/git.xyzzy.ee.conf.bootstrap b/etc/nginx/sites-available/git.xyzzy.ee.conf.bootstrap index 393b62e..3658fec 100644 --- a/etc/nginx/sites-available/git.xyzzy.ee.conf.bootstrap +++ b/etc/nginx/sites-available/git.xyzzy.ee.conf.bootstrap @@ -4,7 +4,7 @@ server { listen 80; listen [::]:80; server_name git.xyzzy.ee; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location / { diff --git a/etc/nginx/sites-available/xyzzy.ee.conf b/etc/nginx/sites-available/xyzzy.ee.conf index 0b2eb00..c6011a6 100644 --- a/etc/nginx/sites-available/xyzzy.ee.conf +++ b/etc/nginx/sites-available/xyzzy.ee.conf @@ -3,7 +3,7 @@ server { server_name xyzzy.ee; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location / { @@ -37,7 +37,7 @@ server { server { server_name www.xyzzy.ee; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location ~ /\.well-known { @@ -81,7 +81,7 @@ server { listen 80; listen [::]:80; server_name xyzzy.ee; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; return 404; # managed by Certbot } @@ -94,7 +94,7 @@ server { listen 80; listen [::]:80; server_name www.xyzzy.ee; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; return 404; # managed by Certbot } diff --git a/etc/nginx/sites-available/xyzzy.ee.conf.bootstrap b/etc/nginx/sites-available/xyzzy.ee.conf.bootstrap index 8550d31..298a098 100644 --- a/etc/nginx/sites-available/xyzzy.ee.conf.bootstrap +++ b/etc/nginx/sites-available/xyzzy.ee.conf.bootstrap @@ -5,7 +5,7 @@ server { listen 80 default_server; listen [::]:80 default_server; server_name xyzzy.ee; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location / { @@ -18,7 +18,7 @@ server { listen 80; listen [::]:80; server_name www.xyzzy.ee; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location ~ /\.well-known { diff --git a/etc/nginx/sites-available/xyzzy.fi.conf b/etc/nginx/sites-available/xyzzy.fi.conf index 81c29bd..134362b 100644 --- a/etc/nginx/sites-available/xyzzy.fi.conf +++ b/etc/nginx/sites-available/xyzzy.fi.conf @@ -3,7 +3,7 @@ server { server_name xyzzy.fi; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location / { @@ -37,7 +37,7 @@ server { server { server_name www.xyzzy.fi; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location ~ /\.well-known { @@ -81,7 +81,7 @@ server { listen 80; listen [::]:80; server_name xyzzy.fi; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; return 404; # managed by Certbot } @@ -94,7 +94,7 @@ server { listen 80; listen [::]:80; server_name www.xyzzy.fi; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; return 404; # managed by Certbot } diff --git a/etc/nginx/sites-available/xyzzy.fi.conf.bootstrap b/etc/nginx/sites-available/xyzzy.fi.conf.bootstrap index 5dee3d0..09bdcf3 100644 --- a/etc/nginx/sites-available/xyzzy.fi.conf.bootstrap +++ b/etc/nginx/sites-available/xyzzy.fi.conf.bootstrap @@ -5,7 +5,7 @@ server { listen 80; listen [::]:80; server_name xyzzy.fi; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location / { @@ -18,7 +18,7 @@ server { listen 80; listen [::]:80; server_name www.xyzzy.fi; - root /var/xyzzy/html; + root /var/xyzzy/html/plugh; index index.html; location ~ /\.well-known { diff --git a/html/favicon.png b/html/plugh/favicon.png similarity index 100% rename from html/favicon.png rename to html/plugh/favicon.png diff --git a/html/favicon.svg b/html/plugh/favicon.svg similarity index 100% rename from html/favicon.svg rename to html/plugh/favicon.svg diff --git a/html/index.css b/html/plugh/index.css similarity index 100% rename from html/index.css rename to html/plugh/index.css diff --git a/html/index.html b/html/plugh/index.html similarity index 100% rename from html/index.html rename to html/plugh/index.html diff --git a/html/robots.txt b/html/plugh/robots.txt similarity index 100% rename from html/robots.txt rename to html/plugh/robots.txt