Skip to content

Commit e025c89

Browse files
committed
📩 caddy http-01 to obtain cert
1 parent 96f4c93 commit e025c89

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Caddyfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ chroma.mrag.krajnc.cc {
1818

1919
# MAIL ->
2020

21+
# HTTP-01
22+
mail.krajnc.cc {
23+
# This tells Caddy to obtain/renew the cert for mail.krajnc.cc
24+
tls admin@krajnc.cc
25+
26+
# We don’t need to actually serve a website here, so just 404 everything
27+
respond "Not Found" 404
28+
}
29+
2130
# IMAPS
2231
mail.krajnc.cc:993 {
2332
tls admin@krajnc.cc

0 commit comments

Comments
 (0)