22 lines
468 B
Caddyfile
22 lines
468 B
Caddyfile
# All sites are served over HTTP because Cloudflare tunnel handles TLS termination.
|
|
# http:// prefix disables Caddy's automatic HTTPS since certs are managed upstream.
|
|
|
|
http://oversteep.com {
|
|
encode zstd gzip
|
|
root * /srv/oversteep.com
|
|
file_server
|
|
}
|
|
|
|
http://chunli.net {
|
|
encode zstd gzip
|
|
root * /srv/chunli.net
|
|
file_server
|
|
}
|
|
|
|
http://git.chunli.net {
|
|
encode zstd gzip
|
|
reverse_proxy host.docker.internal:3000 {
|
|
header_up X-Forwarded-Proto https
|
|
}
|
|
}
|