caddy-tailscale icon indicating copy to clipboard operation
caddy-tailscale copied to clipboard

Question: How to correctly configure reverse_proxy for a TLS upstream

Open t0xa opened this issue 7 months ago • 0 comments

Hello!

Thank you for this incredible project.

Consider following snippet:

:80 {
   reverse_proxy https://proxmoxvox.ts.net:8006 {
       transport tailscale
   }
}

Error message:

Error: adapting config using caddyfile: parsing caddyfile tokens for 'reverse_proxy': upstreams are configured for HTTPS but transport module does not support TLS: *tscaddy.TailscaleCaddyTransport, at Caddyfile:4

I understand that this limitation related to https://github.com/tailscale/caddy-tailscale#https-support but what would be the right syntax?

Thanks!

t0xa avatar Nov 23 '23 20:11 t0xa