summary refs log tree commit diff
path: root/etc/httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/httpd.conf')
-rw-r--r--etc/httpd.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/httpd.conf b/etc/httpd.conf
index 669e27a..c8de2f4 100644
--- a/etc/httpd.conf
+++ b/etc/httpd.conf
@@ -31,3 +31,12 @@ server "text.iwakura.page" {
     }
     block return 301 "https://text.iwakura.page$REQUEST_URI"
 }
+
+server "git.iwakura.page" {
+    listen on * port 80
+    location "/.well-known/acme-challenge/*" {
+        root "/acme"
+        request strip 2
+    }
+    block return 301 "https://git.iwakura.page$REQUEST_URI"
+}