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

Issue in logging in via reverse proxy using domain name #32

Closed
ajeshbs opened this issue Sep 17, 2023 · 2 comments
Closed

Issue in logging in via reverse proxy using domain name #32

ajeshbs opened this issue Sep 17, 2023 · 2 comments

Comments

@ajeshbs
Copy link

ajeshbs commented Sep 17, 2023

I am facing an issue while attempting to app hosted on an Nginx server using a domain name that's been set up with a reverse proxy. I can access the application and successfully log in by using the application’s direct IP address and port (http://xxx.xx.xx.xx:8080/login), but when I attempt to do the same via our domain name (https://files.xxx.xe/login), I am unable to log in.

@divyam234
Copy link
Owner

@ajeshbs check your nginx config you should enable websockets on reverse proxy or use caddy server for hosting better than nginx

@ajeshbs
Copy link
Author

ajeshbs commented Sep 17, 2023

yup Thanks,enabling websockets in my nginx config works
Added these lines:

proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";

To location

@ajeshbs ajeshbs closed this as completed Sep 17, 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

2 participants