@yariplus Strangely, I tried to run this command but redis-server does not turn off.
How to run nodebb not on a port but just without :4567
Hey is it possible before or after install to make it just run http://nodebb.domain.net/admin/settings/general
yeah of course
yeah of course
Well nice! I've instaled nginx but not sure how to get the result with what to edit or do... Can you give me instructoins?
This is all from memory so use at your own risk. I recommend looking up how to use the linux command line if you aren't familiar with it, and also look up how to add an nginx site file.
It should go something like this:
cd /etc/nginx/sites-available sudo nano ./nodebb
Then paste one of the configs there into the open file. Make the changes as explained in that, changing
example.orgetc to your URL. Save and exit from the editor.
sudo ln -s ./nodebb ../sites-enabled/nodebb sudo systemctl reload nginx
@maxpen did you set up SSL at all? The config you have there is for an SSL setup (
make sure you have port 80 and/or 443 open on your firewall. I see 80 is open (I get the "Welcome to Nginx" message). So now you need to make a few changes in your nginx config for it to redirect 4567 to your site on 80/443 (http/https), as currently it is set to the nginx page.
The docs has a config you can use, just make the changes like Pitaj has suggested and for https, you will need a certificate. Lets-Encrypt is free
**Edit to add: Don't forget to restart nginx to use the new config