better-argo-tunnels/deploy/sms/Caddyfile.example

21 lines
617 B
Caddyfile

# Copy to Caddyfile and set INGRESS in http-edge.compose.yml (or export before run).
# Terminates TLS on the SMS host (ACME for your public hostnames) and forwards to
# Traefik on ingress, preserving Host so routes like king73.taylor-co.com still match.
#
# Duplicate a block for each Taylor hostname that resolves to the SMS public IP, or
# add more server blocks. Wildcards need DNS-01; see Caddy docs.
{
# email your@taylor-co.com
}
king73.taylor-co.com {
reverse_proxy https://{$INGRESS} {
header_up Host {host}
header_up X-Forwarded-Proto {scheme}
transport http {
tls_insecure_skip_verify
}
}
}