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

Connection failed to "aws elb/master" #86

Open
chandu412 opened this issue Mar 30, 2020 · 1 comment
Open

Connection failed to "aws elb/master" #86

chandu412 opened this issue Mar 30, 2020 · 1 comment

Comments

@chandu412
Copy link

Capture

trying to access the kubebox behind reverse proxy [nginx] and getting the error as in screenshot attached.

nginx reverse proxy config :
set $upstream_kubebox http://kubebox.kubebox.svc.cluster.local:8080;
location ~* (/kubebox|/master/api(.)$) {
rewrite /kubebox/(.
)$ /$1 break;
proxy_pass $upstream_kubebox;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
auth_ldap off;
}

it is working fine with service as a load balance but not working behind nginx

@astefanutti
Copy link
Owner

Could you make sure headers are passed? You may want to have a look at the reverse proxy Kubebox does:

proxy_pass_request_headers on;

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

2 participants