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

Explain https forward environment in documentation #2

Open
trucheromayor opened this issue Oct 26, 2021 · 0 comments
Open

Explain https forward environment in documentation #2

trucheromayor opened this issue Oct 26, 2021 · 0 comments

Comments

@trucheromayor
Copy link

trucheromayor commented Oct 26, 2021

The issue detected in this mapproxy ticket was solved by adding an "http-request add-header X-Forwarded-Proto https if { ssl_fc }" line to happroxy. Would be great if this scenario is explained somewhere in the documentation.

Here is a proposal:

When working behind a fronted like haproxy serving HTTPS scheme and redirecting requests to a mapproxy backend you will need to inform your backend about your schema with a X-Forwarded-Proto HTTPS header. Example of configuration in haproxy:

http-request add-header X-Forwarded-Proto https if { ssl_fc }

Thank you in advance

Jon

@trucheromayor trucheromayor changed the title Explain somewer Explain https forward environment in documentation Oct 26, 2021
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

No branches or pull requests

1 participant