diff options
Diffstat (limited to 'etc/httpd.conf')
| -rw-r--r-- | etc/httpd.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/httpd.conf b/etc/httpd.conf index ad66d69..93551a3 100644 --- a/etc/httpd.conf +++ b/etc/httpd.conf @@ -7,6 +7,16 @@ server "iwakura.page" { } } +server "iwakura.page" { + listen on * port 80 + root "/htdocs/iwakura.page" + location "/.well-known/acme-challenge/*" { + root "/acme" + request strip 2 + } + block return 301 "https://iwakura.page$REQUEST_URI" +} + server "www.iwakura.page" { listen on 127.0.0.1 port 8080 block return 301 "https://iwakura.page$REQUEST_URI" |