diff options
-rw-r--r-- | cyfraeviolae.conf | 8 |
1 files changed, 1 insertions, 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; } |