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

Configured this to be behind nginx always redirect page to 404 after login #1236

Open
dvlwj opened this issue Apr 26, 2023 · 0 comments
Open

Comments

@dvlwj
Copy link

dvlwj commented Apr 26, 2023

image
image

Do you have any idea how we do it? Below is the configuration if you need it.

upstream querybook {
   server x.x.x.x:10001;
}

   location /query {
	proxy_pass http://querybook/;
	proxy_http_version 1.1;
	proxy_set_header Host $host;
	proxy_set_header Upgrade $http_upgrade;
	proxy_set_header Connection upgrade;
	proxy_set_header Accept-Encoding gzip;
   }
   location /build {
	proxy_set_header Upgrade $http_upgrade;
	proxy_http_version 1.1;
	proxy_set_header Host $host;
	proxy_set_header Connection "upgrade";
	proxy_pass http://querybook/build/;
   }
   location /static {
        proxy_set_header Upgrade $http_upgrade;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header Connection "upgrade";
        proxy_pass http://querybook/static/;
   }
   location /ds {
        proxy_set_header Upgrade $http_upgrade;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header Connection "upgrade";
        proxy_pass http://querybook/ds/;
   }

my nginx is in docker, but it's fine with other containers. I already try to run curl from inside nginx container and can get the loading page.

@dvlwj dvlwj changed the title set this behind nginx always redirect page to 404 after login Configured this to be behind nginx always redirect page to 404 after login Apr 26, 2023
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