diff options
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/httpd.conf | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/etc/httpd.conf b/etc/httpd.conf index 3c5a94a..ad66d69 100644 --- a/etc/httpd.conf +++ b/etc/httpd.conf @@ -5,8 +5,6 @@ server "iwakura.page" { root "/acme" request strip 2 } - - # block return 301 "https://$SERVER_NAME$REQUEST_URI" } server "www.iwakura.page" { @@ -14,15 +12,6 @@ server "www.iwakura.page" { block return 301 "https://iwakura.page$REQUEST_URI" } -server "iwakura.page" { - listen on * port 80 - location "/.well-known/acme-challenge/*" { - root "/acme" - request strip 2 - } - block return 301 "https://iwakura.page$REQUEST_URI" -} - server "text.iwakura.page" { listen on * port 80 location "/.well-known/acme-challenge/*" { @@ -39,5 +28,5 @@ server "chat.iwakura.page" { root "/acme" request strip 2 } - block return 301 "https://iwakura.page$REQUEST_URI" + block return 301 "https://iwakura.page/" } |