• 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

Install Nodebb and Ghost Blog

Scheduled Pinned Locked Moved Technical Support
6 Posts 5 Posters 2.7k 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.
  • T Offline
    T Offline
    tuanphongtruong
    wrote on last edited by
    #1

    I installed Ghost with Nginx, and now i want installing NodeBB in a sub-folder, example: https://bundlesbug.com/forum.
    You can help me ?

    1 Reply Last reply
    0
  • K Offline
    K Offline
    kimikelku
    wrote on last edited by
    #2

    Inside this folder

    /etc/nginx/conf.d/
    

    Create a new file for the forum, like forum.conf
    Now inside the new file paste this:

    server {
        listen 80;
        server_name bundlesbug.com/forum;
        location / {
            proxy_set_header   X-Real-IP $remote_addr;
            proxy_set_header   Host      $http_host;
            proxy_pass         http://127.0.0.1:4567;
        }
    }
    

    Don't forget to check the port for nodebb, in this example i used the default one.

    FastidiousF 1 Reply Last reply
    1
  • U Offline
    U Offline
    UnknownGeek
    wrote on last edited by
    #3

    This sounds extremely interesting because I know openshift definitely uses nginx, and its way more than easy to host both ghost and nodebb individually, it'd be a pretty sweet setup to get both wrapped up in one with the commenting plugin all set up. Although nodebb definitely wouldn't be hosted for free because it takes too much space.

    1 Reply Last reply
    0
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    replied to kimikelku on last edited by
    #4

    @kimikelku said:

    server_name bundlesbug.com/forum;

    That is wrong. Server name remains the same (and you can't pass URL like parameters on server name), location changes. The right way is:

    server {
        listen 80;
        server_name bundlesbug.com;
        location /forum/ {
              Check NodeBB documentation for the complete
              configuration that follows here.
        }
    }
    
    T 1 Reply Last reply
    1
  • T Offline
    T Offline
    tuanphongtruong
    replied to Fastidious on last edited by
    #5

    @Fastidious i will try, thank you!

    1 Reply Last reply
    0
  • A Offline
    A Offline
    Ali Gamers
    wrote on last edited by
    #6

    @tuanphongtruong https://community.nodebb.org/topic/4667/ghost-nodebb-nginx-config-example-needed/26

    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