Not all proxies use the de-facto standard x-forwarded-* header names. E.g. CloudFront uses cloudfront-forwarded-proto. This PR enables the header names to be overridden for a specific ATH::Request::ProxyHeader to support this use case.
Changelog
Allow customizing trusted proxy header names
Before merging, remember to add the athena-framework/athena prefix to the PR number in the PR title
Context
Not all proxies use the de-facto standard
x-forwarded-*
header names. E.g. CloudFront usescloudfront-forwarded-proto
. This PR enables the header names to be overridden for a specificATH::Request::ProxyHeader
to support this use case.Changelog
Before merging, remember to add the
athena-framework/athena
prefix to the PR number in the PR title