From a1a1861826d4bc13732923b37946b8d763e254b5 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Sun, 25 Sep 2022 23:43:51 -0400 Subject: nginx --- cyfraeviolae.conf | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf index db4fac7..103d558 100644 --- a/cyfraeviolae.conf +++ b/cyfraeviolae.conf @@ -1,6 +1,4 @@ server { - server_name cyfraeviolae.org; - location /forbidden-salamanders { proxy_pass http://127.0.0.1:9010/; } @@ -64,10 +62,6 @@ server { } server { - if ($host = cyfraeviolae.org) { - return 301 https://$host$request_uri; - } # managed by Certbot - server_name cyfraeviolae.org; listen 80; - return 404; + return 301 https://$host$request_uri; } -- cgit v1.2.3