Invitiation only - Nginx proxy - wrong port in invite

Technical Support
  • Hi,

    Just getting my first NodeBB forums setup.

    I want the forums user signup to be "Admin Invitation Only".
    I have email configured, that's sending out email OK.
    I have an Nginx reverse proxy setup - it's doing SSL for the forums, listening to 443, and redirecting to 127.0.0.1:4567 and that works fine.

    My problem is that when I invite someone - they get the email, but the invite link is wrong. In the link (actual domain name redacted), there is forums.domain.com:4567 instead of https://forums.domain.com/
    I've looked at the email templates and they don't make any sense to me.

    Ideas, advise?

    Much appreciation for any help,
    Wayne

  • Nevermind, figured it out.
    Inside of config.json there is the url field and a port field... I had a port inside of the URL field, and I removed the port from the url and restarted nodebb, and it's working now!


Suggested Topics


  • Time to Rethink Nginx?

    Technical Support
    4
    0 Votes
    4 Posts
    353 Views

    @julian Yeah, I was thinking more of the Nginx Plux vs. Nginx Open Source duality. Too often such results in major split personality disorders wh/end up essentially forcing extortion to even get access to any reasonable docs or support.

    Nginx woes are still unclear. My concern is that if the bad actors succeed in their claims, then the license itself may be declared null and void. I can imagine this then leading to a scenario where "might makes right" and any forks then become their next targets. Crazy stuff happens in the US Federal Courts these days, particularly a certain district court in Texas, which has a well earned reputation for being very pro corporation in its rulings. Some towns thrive on industry, others eco tourism, etc. That TX town's niche is rich corporate lawyers dumping buckets of cash into the local economy.

    Anyways, I am still curious as to community reports regarding Apache deployments, as I have not used it in many years now.

    NodeBB rocks and is one of the best pieces of FOSS this ol' dinosaur had the pleasure of using. Keep up the great work.

  • 0 Votes
    5 Posts
    771 Views

    Hello, I deploy nodebb to docker. After I start the service, open the page and the service will hang up! Please help me.

    WechatIMG71624.jpeg

  • NGINX config problem ?

    Technical Support
    10
    0 Votes
    10 Posts
    3k Views

    @yariplus said in NGINX config problem ?:

    If a location is defined by a prefix string that ends with the slash character, and requests are processed by one of proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass, or memcached_pass, then the special processing is performed.

    ... this explains so much 😓

  • 0 Votes
    8 Posts
    10k Views

    Hi, have you guys tried using the master branch to see if this has been resolved already? It sounds.. familiar

  • 0 Votes
    5 Posts
    2k Views

    Thanx! 🙂