• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
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
v3.5.2 Latest
Buy Hosting

How to run nodebb not on a port but just without :4567

Scheduled Pinned Locked Moved Technical Support
7 Posts 3 Posters 1.8k 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.
  • M Offline
    M Offline
    MaxPen
    wrote on last edited by MaxPen
    #1

    Hey is it possible before or after install to make it just run http://nodebb.domain.net/admin/settings/general

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2

    yeah of course

    NginX - NodeBB Documentation

    favicon

    (docs.nodebb.org)

    M 1 Reply Last reply
    0
  • M Offline
    M Offline
    MaxPen
    replied to PitaJ on last edited by
    #3

    @pitaj said in How to run nodebb not on a port but just without :4567:

    yeah of course

    NginX - NodeBB Documentation

    favicon

    (docs.nodebb.org)

    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?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #4

    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.org etc to your URL. Save and exit from the editor.

    sudo ln -s ./nodebb ../sites-enabled/nodebb
    sudo systemctl reload nginx
    
    1 Reply Last reply
    0
  • M Offline
    M Offline
    MaxPen
    wrote on last edited by MaxPen
    #5

    @pitaj I did that I get now: http://nodebb.favoritesites.net/

    It does still show up my forum at http://nodebb.favoritesites.net:4567/

    the file contents was: https://pastebin.com/LKX3wejk

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to MaxPen on last edited by
    #6

    @maxpen did you set up SSL at all? The config you have there is for an SSL setup (https://)

    1 Reply Last reply
    0
  • A Offline
    A Offline
    Adam Poniatowski
    wrote on last edited by Adam Poniatowski
    #7

    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

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development