diff options
| author | Lain Iwakura <lain@lainmail.xyz> | 2025-12-30 14:10:47 +0300 |
|---|---|---|
| committer | Lain Iwakura <lain@lainmail.xyz> | 2025-12-30 14:10:47 +0300 |
| commit | 87650de570c13f7dc078a4e560365d6e2cea81a9 (patch) | |
| tree | 312faf36de09040d8cf1aaa9f4ccc0edacc6c37e | |
| parent | feat(git): add git:// protocol (diff) | |
| download | infra-87650de570c13f7dc078a4e560365d6e2cea81a9.tar.gz infra-87650de570c13f7dc078a4e560365d6e2cea81a9.zip | |
feat(httpd): fix config
| -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/" } |