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

Respect X-Forwarded-Proto header #19

Closed
IlyaSemenov opened this issue Apr 20, 2016 · 1 comment · Fixed by #21
Closed

Respect X-Forwarded-Proto header #19

IlyaSemenov opened this issue Apr 20, 2016 · 1 comment · Fixed by #21

Comments

@IlyaSemenov
Copy link
Contributor

Consider a typical setup on docker farm:

Remote user > (HTTPS) > nginx frontend at docker host > (HTTP) > docker container.

This is a perfectly secure setup (unencrypted traffic never hits the physical network), however phpLDAPAdmin will generate a warning: "This web connection is unencrypted."

phpLDAPAdmin docker image must respect X-Forwarded-Proto and disable the warning if the header is set to "https".

@osixia
Copy link
Collaborator

osixia commented Apr 20, 2016

Thanks i didn't known that :)
can you provide the apache configuration and i make a fix ? (or make a pull request ?)

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 a pull request may close this issue.

1 participant