feat: Adds caddy.

This commit is contained in:
2025-03-14 09:49:30 -04:00
commit 4cf4d1a7c6
4 changed files with 64 additions and 0 deletions

20
caddy/config/Caddyfile Normal file
View File

@@ -0,0 +1,20 @@
{
email {env.ACME_EMAIL}
acme_dns cloudflare {env.CF_AUTH_TOKEN}
admin 0.0.0.0:2019
}
*.housh.dev {
tls {
dns cloudflare {env.CF_AUTH_TOKEN}
propagation_delay 2m
resolvers 1.1.1.1
}
# example of reverse proxy.
@gitea host git.housh.dev
handle @gitea {
reverse_proxy 192.168.10.76:3000
}
}