"Doubled URL" after login success
I noticed a strange behaviour of my NodeBB installation.
When I submit the login form with valid credentials, I get redirected to the doubled base url.
It looks like "https://forum.site.de/https://forum.site.de".
I browsed the settings, but couldn't find any option that might fix the issue.
The behaviour occurs with NodeBB 1.11.1 and 1.11.0
Any hint for solving the problem would be much appreciated.
Thanks for your help.
FrankM last edited by
Please fix your URL in config.json
Up to now the URL was set to "https://forum.site.de" and produced no problems.
I tried "/" and "https://127.0.0.1:4567". The described problem stays. The only effect is, socket.io can't connect.
So it seems my original setting can't be that wrong.
In that case, perhaps your nginx config also has an extra slash in the proxy redirect?
Thank you for the hint.
The nginx config has no tailing / in the proxy_pass entry. So, it seems ok.
I just tried to reproduce the problem on a different machine. Works as intended.
Firefox on Windows -> ok
Safari on iOS -> ok
Firefox on macOS -> fail
I guess, I need to do further tinkering.
I just tried it with Firefox on macOS again and it works as intended.
I'm curious what went wrong in the beginning, but I guess I will never find out...
I declare this issue solved.
Thank you people for the support and have some nice holidays.
Sounds like it was likely a cache issue. Glad it worked out.