Forwarded (RFC 7239) Support?

Does Caddy 2 support RFC 7239’s Forwarded header? If not, I can file an issue for adding support.


Currently Caddy only sets X-Forwarded-For.

You can manually set it on your reverse_proxy with something like:

header_up Forwarded for={http.request.header.x-forwarded-for}

Feel free to open up an issue on the github repo as a feature request!

1 Like

Created GH issue 3262: Add support for Forwarded header (RFC 7239) · Issue #3262 · caddyserver/caddy · GitHub.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.