ive done something like this, change the links in navigation to require to be logged in. only link i have on my main forum, is the login link, everythign else is taken away
"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
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.
Just for you guys troubleshooting this problem, if you are using https, then the address needs to be https in the config.json too.