Re: gh#1984
The configuration file was recently updates to be simpler, among other changes, url
is the main config value that points to your address. NodeBB will automatically figure out the port usage and relative path if provided.
port
is now optional. If it is not specified, it will be inferred from the url
, if it is not specified in the url (e.g. you're using a reverse proxy) and you still want to listen to a non-4567 port, specify a port
value, NodeBB will follow it. The PORT
environment variable is unaffected.
bcrypt_rounds
and upload_path
are defaulted to 12
and /public/uploads
respectively. Leave them in config.json if you want them to be different.
NodeBB's upgrade script will transparently handle this change, although if you have plugins relying on base_url
, you'll need to update them to listen for url
instead.
Full details here: https://docs.nodebb.org/en/latest/configuring/config.html