Open ghost opened 8 years ago
@blew888 Where are you running the app, on Windows, Linux or Mac?
Seeing a similar issue on OS X. It works fine locally, but it keeps redirecting incorrectly when I use nginx as a reverse proxy:
Redirected to http://192.168.1.249:9099static_pages/home
9099 is the port nginx is listening on, which is SSL only.
EDIT fixed the redirect issues in my nginx config by adding:
proxy_set_header X-Forwarded-Proto https;
Running on Windows 10. proxy_set_header didn't work for me, but I assume I need to set up the SSL certs?
When the login is incorrect, the redirect page goes to http://127.0.0.1:3000static_pages/home, when I enter it correctly in the url, http://127.0.0.1:3000/static_pages/home, it works.