Skip to content

Cannot log in to code-server running in docker with reverse proxy #1469

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

Closed
teddue opened this issue Mar 30, 2020 · 2 comments
Closed

Cannot log in to code-server running in docker with reverse proxy #1469

teddue opened this issue Mar 30, 2020 · 2 comments

Comments

@teddue
Copy link

teddue commented Mar 30, 2020

I run code-server inside a docker container and put it behind a reverse proxy (for https)

When I access it through its ip address and in plain http I can log in but when i try to access it through the reverse proxy I get the log in screen but cannot log in (without an error message)

@perelin
Copy link

perelin commented Mar 30, 2020

Hey, whats your actual setup? Maybe you can post your nginx/apache config file. Is your certificate issued for the exact domain you are using? @ttfan240 posted an nginx config that helped me with my setup #1211 (comment)

@nhooyr
Copy link
Contributor

nhooyr commented Mar 30, 2020

It's very unlikely this is a bug in code-server, please ensure your reverse proxy is working correctly and definitely look at #1211

@nhooyr nhooyr closed this as completed Mar 30, 2020
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

3 participants