# HTTP to HTTPS redirect :80 { redir https://{host}{uri} permanent } # HTTPS with self-signed cert (bypassing Let's Encrypt issues) :443 { tls internal { on_demand } reverse_proxy localhost:8001 # Logging log { output file C:\Dev\Web\mingle-website\caddy\access.log format json } }