Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate Header for "x-forwarded-proto" #619

Merged
merged 1 commit into from
Dec 2, 2014

Conversation

renebock
Copy link
Contributor

@renebock renebock commented Dec 1, 2014

An x-forwarded-proto header which is typically sent by a load balancer that is implementing ssl termination to indicate the request on the public side of the load balancer is secure.

But there are cases (e.g. the combo "IHS" (= IBM Apache Clone) and "WebSphere" ) where an other header is sent instead (e.g. $wssc)

This patch allows to define the name of the header via the property

er.extensions.appserver.ERXRequest.xForwardedProtoHeaderKeyForSsl=x-forwarded-proto

…erty

er.extensions.appserver.ERXRequest.xForwardedProtoHeaderKeyForSsl

E.g. the combo "IHS" (= IBM Apache Clone) and "WebSphere" uses the the header key "$wssc" instead of "x-forwarded-proto"...
darkv added a commit that referenced this pull request Dec 2, 2014
Alternate Header for  "x-forwarded-proto"
@darkv darkv merged commit 75279cc into wocommunity:master Dec 2, 2014
@renebock renebock deleted the x_forwarded_proto_for_ssl branch December 2, 2014 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants