home · contact · privacy
Improve status.plomlompom.com archive setup.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 27 Aug 2023 02:51:47 +0000 (04:51 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 27 Aug 2023 02:51:47 +0000 (04:51 +0200)
bookworm/etc_files/static_websites/etc/nginx/sites-available/status.plomlompom.com.nginx

index 02bc0b3c768bc60c47cbabef2a09f5dbcd840b5c..5dda86c8d254fba2526fe10ebdc3529631685804 100644 (file)
@@ -5,6 +5,10 @@ server {
     ssl_certificate_key /etc/letsencrypt/live/REPLACE_fqdn_ECALPER/privkey.pem;
     root /var/www/status.plomlompom.com/;
 
+    location = / {
+        return 301 /users/plomlompom.html
+    } 
+
     # re-direct to .html endings
     location ~ ^/(notice|users)/([^\.]*)/?$ {
         rewrite ^/(notice|users)/([^\./]*)/?$ /$1/$2.html permanent;