summarylogtreecommitdiffstats
path: root/Caddyfile-example
blob: 4e6033ff96b259924696ab18100ac104c416372e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# For the "reverse-proxy with auto TLS certificate", add entries as follows.
# Don't forget to set `HETZNER_TOKEN`, e.g., in /var/lib/caddy/envfile
#
# example.com {
# 	reverse_proxy localhost:8080
# 	tls {
# 		dns hetzner {env.HETZNER_TOKEN}
# 	}
# }
#
# example.net {
# 	reverse_proxy localhost:8800
# 	tls {
# 		dns hetzner {env.HETZNER_TOKEN}
# 	}
# }