feat: Adds caddy.
This commit is contained in:
20
caddy/config/Caddyfile
Normal file
20
caddy/config/Caddyfile
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user