• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

0 home0

0 home

@0 home
About
Posts
4
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    RE: How to add slug to the url where nodebb shows.
  • 0 home0 0 home

    @PitaJ
    Thank you for your reply, and sorry for lack of information.

    http://35.198.197.213:4567/nodebb/ → success to show nodebb.
    http://35.198.197.213/nodebb/ → return 404 on parent site(my case is wordpress on nginx).
    http://35.198.197.213:4567/ → return misconfigured csrf error on nodebb.
    http://35.198.197.213:4567/nodebb → return /nodebbcategories not found on nodebb.

    I reloaded nginx.
    I setup and restart nodebb each time.

    nginx -t → syntax and test is successful.

    now I am trying below
    https://community.nodebb.org/topic/3324/nginx-error/18


  • RE: How to add slug to the url where nodebb shows.
  • 0 home0 0 home

    @PitaJ
    Thank you very much @night-gold!
    now I could access to http://example.com:4567/nodebb.
    but I couldn't open http://example.com/nodebb... is there any way to remove port number with this way?


  • How to add slug to the url where nodebb shows.
  • 0 home0 0 home

    As tutorial, I could deploy nodebb on http://example.com .
    However, I would like to show nodebb on http://example.com/nodebb .

    I tried coding like below, but it failed. Any help is appreciated.
    config.json

    {
        "url": "http://example.com/nodebb",
        "secret": "secret",
        "database": "mongo",
        "port": 4567,
        "mongo": {
            "host": "127.0.0.1",
            "port": "27017",
            "username": "nodebb",
            "password": "pass",
            "database": "nodebb"
        }
    }
    

    and, nginx.conf

    location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;
        proxy_pass http://127.0.0.1/nodebb:4567;
        proxy_redirect off;
        # Socket.IO Support
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
    
  • Login

  • Don't have an account? Register

  • Login or register to search.

  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.