@neron Like I said, I did not read entirety but I did catch the dated nodejs and nodebb version numbers. In any case, now you have a pointer to the official docs.
Expanding a bit on the above:
Regarding issues #1 and #2: I don't think this is nginx related, as you're hitting the NodeBB app server directly via ip address on port 4567. And your config.json otherwise looks fine.
Some info that may help:
- What version of NodeBB?
- What version of NodeJS?
- Did you install/setup NodeBB as your NodeBB user? Or perchance might you have done so as root?
- Please double check permissions and ownership of your nodebb directory.
Regarding problem #3:
NodeBB itself does not handle TLS, which is all configured and managed proxy side, e.g. nginx. Presuming you are doing so (and not trying to hit nodebb app server itself directly via https), we will likely need to take a look at your nginx.conf in addition to the above.
I believe config.json "url" needs to be using https and hostname. But maybe not - just seem to have something about this sticking in the back of my mind - never tried tested TLS using IP address so I could be misremembering. Should work provided your config.json and nginx.conf are congruent.
NodeBB Console Messages/Logs:
$ cd /some/dir/nodebb
$ ./nodebb -l start
Then copy pasta the resulting spewage fer' further diagnosis, eh?