Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Tech
  3. New Forum on same Server Bad Gateway

New Forum on same Server Bad Gateway

Scheduled Pinned Locked Moved Tech
5 Posts 3 Posters 13 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C This user is from outside of this forum
    C This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      @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?

      1 Reply Last reply
      0
      • C This user is from outside of this forum
        C This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • astro-what@community.nodebb.orgA This user is from outside of this forum
          astro-what@community.nodebb.orgA This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          @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.

          1 Reply Last reply
          0
          • C This user is from outside of this forum
            C This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            Typos are the bane of my existence.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups