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

cannot use hydra's allow_termination_from support without X-Forwarded-Proto header #32

Closed
amihalj opened this issue Nov 6, 2019 · 2 comments

Comments

@amihalj
Copy link
Contributor

amihalj commented Nov 6, 2019

I am trying to use TLS termination according to hydra server spec:
TLS termination

but there is not way to send X-Forwarded-Proto header in maester requests.

Is it possible to include property in helm values that allows such header to be sent?

thank you.

(Eg. hydra admin log)


level=info msg="started handling request" method=POST remote="172.17.0.6:41622" request=/clients
time="2019-11-06T08:51:53Z" level=warning msg="Could not serve http connection" error="X-Forwarded-Proto header is missing"
time="2019-11-06T08:51:53Z" level=error msg="An error occurred while handling a request" code=502 debug= details="map[]" error="can not serve request over insecure http"
@aeneasr
Copy link
Member

aeneasr commented Nov 7, 2019

I believe a simple flag like --forwarded-proto=https would be enough?

/cc @jakkab @piotrmsc

@aeneasr
Copy link
Member

aeneasr commented Nov 21, 2019

This is resolved now with #35

@aeneasr aeneasr closed this as completed Nov 21, 2019
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.

2 participants