0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2025-01-20 22:52:58 -05:00
caddy/modules
Matthew Holt 2a8a198568
reverseproxy: Don't overwrite existing X-Forwarded-Proto header
Correct behavior is not well defined because this is a non-standard
header field. This could be a "hop-by-hop" field much like
X-Forwarded-For is, but even our X-Forwarded-For implementation
preserves prior entries. Or, it could be best to preserve the original
value from the first hop, representing the protocol as facing the
client.

Let's try it the other way for a bit and see how it goes.

See https://caddy.community/t/caddy2-w-wordpress-behind-nginx-reverse-proxy/8174/3?u=matt
2020-05-20 11:33:17 -06:00
..
caddyhttp reverseproxy: Don't overwrite existing X-Forwarded-Proto header 2020-05-20 11:33:17 -06:00
caddypki pki: Add docs to some struct fields 2020-05-18 13:50:46 -06:00
caddytls all: Recover from panics in goroutines 2020-05-12 11:36:20 -06:00
filestorage httpcaddyfile: Minor fixes to parsing storage options 2020-05-01 09:34:32 -06:00
logging core: Add support for d duration unit (#3323) 2020-05-11 16:41:11 -06:00
standard pki: Embedded ACME server (#3198) 2020-05-05 12:35:32 -06:00