diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 6a2b1fc..48905a9 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -2,13 +2,23 @@ acme_dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG } bizmatch.net { - reverse_proxy bizmatch:8090 + reverse_proxy bizmatch:8090 { + header_up Host {host} + header_up X-Real-IP {remote} + header_up X-Forwarded-For {remote} + header_up X-Forwarded-Proto {scheme} + } tls { dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG } } www.bizmatch.net { - reverse_proxy bizmatch:8090 + reverse_proxy bizmatch:8090 { + header_up Host {host} + header_up X-Real-IP {remote} + header_up X-Forwarded-For {remote} + header_up X-Forwarded-Proto {scheme} + } tls { dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG }