# Caddy terminates TLS on 443 with its own internal CA.
# Cloudflare's SSL/TLS mode "Full" encrypts edge -> origin without validating
# this certificate, so the self-signed leaf is acceptable for the lab.
{$NAS_HOST} {
	tls internal
	encode gzip
	reverse_proxy nextcloud:80
}
