Installation
-
Hi,
I am trying to install nodebb on my server.
I am on step where I run:
node app --setup
Docs that I found say:
Finally, we can run NodeBB:
psychobunny@mynodebb:~/mynodebb$ node app
Open your browser and navigate to http://<YOUR SERVER’S IP ADDRESS>:4567, ex. http://198.199.67.89:4567But if I want that my forum is open via mydomain.com/blog
which setup need to do?Thanks!
-
The config.json look like this now:
{
"base_url": "http://204.XXX.XX.XXX",
"port": "4567",
"use_port": false,
"secret": "53d3cc2b-a70d-47a0-afdf-83c92e0ed134",
"bind_address": "mydomain.com/blog",
"database": "redis",
"redis": {
"host": "204.XXX.XX.XXX",
"port": "6379",
"password": "xxxxxx",
"database": "0"
},
"bcrypt_rounds": 12,
"upload_path": "/public/uploads",
"relative_path": ""
} -
@julian said:
Unfortunately not since we all use nginx, but if you stick around here, somebody else from the community may use apache and be able to help you!
Thanks Julian.
I have been able to install on Apache adding this to the vhost config:
ProxyPass /community http://localhost:4567/ ProxyPassReverse /community http://localhost:4567/
When I run via comand line, I got this error:
What can be?
Thanks!!
-
I was able install with success, but now I have an error.
My config.json is this:
{
"base_url": "http://204.x.x.x",
"port": "4567",
"use_port": false,
"secret": "7dcaa8a3-2c7d-4782-8022-f57e151ac5cf",
"bind_address": "domain.com/community",
"database": "redis",
"redis": {
"host": "127.0.0.1",
"port": "6379",
"password": "",
"database": "0"
},
"bcrypt_rounds": 12,
"upload_path": "/public/uploads",
"relative_path": ""
}And I have added a proxy
ProxyPass /community http://localhost:4567/ ProxyPassReverse /community http://localhost:4567/
When I go to domain.com/community
My server is centos + apache.