summarylogtreecommitdiffstats
path: root/Caddyfile-example
blob: 0bda87c7f7cb40ea2d63d34b83914a3a9547b17c (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 `DNSPOD_TOKEN`, e.g., in /var/lib/caddy/envfile
#
# example.com {
# 	reverse_proxy localhost:8080
# 	tls {
# 		dns dnspod {env.DNSPOD_TOKEN}
# 	}
# }
#
# example.net {
# 	reverse_proxy localhost:8800
# 	tls {
# 		dns dnspod {env.DNSPOD_TOKEN}
# 	}
# }