diff options
author | cyfraeviolae <cyfraeviolae> | 2022-09-25 23:43:51 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2022-09-25 23:43:51 -0400 |
commit | a1a1861826d4bc13732923b37946b8d763e254b5 (patch) | |
tree | d50a1df8666ce8b6072b2b0aeb1eeb5b2022313d | |
parent | 531170a0f0455daa380c53cdffa810496867beb8 (diff) |
nginx
-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; } |