Skip to content

Reverse proxy friendly#20

Open
raghur wants to merge 2 commits intofangli:masterfrom
raghur:master
Open

Reverse proxy friendly#20
raghur wants to merge 2 commits intofangli:masterfrom
raghur:master

Conversation

@raghur
Copy link
Copy Markdown

@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
Copy Markdown

rgarver commented Jun 20, 2014

👍

1 similar comment
@analytically
Copy link
Copy Markdown

👍

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