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

Reverse proxy friendly #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Reverse proxy friendly #20

wants to merge 2 commits into from

Conversation

raghur
Copy link

@raghur raghur commented May 13, 2014

Check for X-Forwarded-Host so that kibana-authentication-proxy itself can be hosted behind a reverse proxy.

Also found a problem where the proxied request will result in a call to ES with http Connection header set to 'close'. ES will error out with a ECONNRESET at that sometimes.

Default behavior (w/o proxy) seems to be set 'Connection: keep-alive' - so setting that explicitly.

raghur added 2 commits May 13, 2014 15:35
Check for X-Forwarded-Host so that kibana-authentication-proxy itself can be hosted behind a reverse proxy.
If a proxied request has a Connection request header then that gets passed. Nginx sets this to 'Connection: close' and ES will crap out on that sometimes.
@rgarver
Copy link

rgarver commented Jun 20, 2014

👍

1 similar comment
@analytically
Copy link

👍

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.

3 participants