@tecy If you use the Persona Theme and nodebb-plugin-custom-pages you can set a homepage like this
8406fe75-917d-460b-a931-3bac1b57b5b5-image.png
If you want to enforce that across all of your users, just disable "Allow User Home Pages"
No matter what I write into config.json, nodeBB keeps glooming on 0.0.0.0. I have tried
"url": "http://127.0.0.1"
"url": "127.0.0.1"
"url": "http://127.0.0.1:4568"
"url": "127.0.0.1", "port": "4568"
"bind_address": "127.0.0.1"
I have to bind to a local IP, because I am behind an NGINX proxy.
Read the docs, searched the forum, any hints what to try next?
@HerrDirektor said:
"bind_address": "127.0.0.1"
This should work, no? What is the expected behaviour, and what happens with that value in config.json
?
@julian It does not work. With all the different options I end up with nodebb binding to 0.0.0.0 It gets the port right and if I change the port and restart it will bind to the correct port, but always to 0.0.0.0, no matter what I set as IP.
@HerrDirektor so you don't want to be able to access your site via port 4568
, correct? You want everything to go through Nginx, right?
@pitaj not on any incoming connection. I just solved it. When I set url to http://127.0.0.1 AND bind_address at the same time, then it works. Setting just one does not. Weird behaviour IMHO. Thanks for the help anyway!
The two options are not mutually exclusive, Herr Direktor.
Bind address should be your local ethernet interface. Set it to 127.0.0.1 if you only wish to have the machine itself access it (or reverse proxy via nginx).
url
is just used by NodeBB when it needs to refer to itself as a URL.