You'll need to cherry-pick the referenced commit to fix it in your install.joolswills created this issue in NodeBB/NodeBB closed NodeBB redirects to / rather than subfolder /forum on login #8515
How to configure nginx to proxy to 4567
@julian How to configure your server so that it will redirect your subdomain to the correct port (:4567). I also made changes to config.json , but what next .
Please consult the nginx documentation: https://docs.nodebb.org/configuring/proxies/nginx/