New Forum on same Server Bad Gateway
-
So, I needed a second forum on the same server as I placed community.darkscribes.com. I setup a seperate directory in /var/www to contain a new code base, and set config.json for "port": "4568",
I made sure the new nginx config also looked for 127.0.0.1:4568
After starting it and ensuring certbit has deployed I am getting error 502 bad gateway.
Wondering where I went wrong here.
-
S support@community.nodebb.org shared this topic
-
@CWSmith silly question, but is the second NodeBB running?
Are there errors when you run it, and does the last line report it listening on port 4568?
-
Found the problem double checking config.json
... I swear if all my problems are Typos I don't see until they are pointed out right at me by someone else or an error...
Apparently I was missing a comma on the port entry... Lovely.
-
@CWSmith said in New Forum on same Server Bad Gateway:
> Apparently I was missing a comma on the port entry... Lovely.
I run 3 sites on a small Contabo VPS using nginx as the proxy... and it was fun getting it all figured out. Like you, I had one site that simply did not want to play well, and it turned out to be missing comma.
-
Typos are the bane of my existence.