• 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
Q

QWUX

@QWUX
About
Posts
7
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Problems with NGINX config.
  • Q QWUX

    @planner - as far as i am aware, no. this is my first time doing this kind of thing though. i used the NODEBB for dummies install guide.

    haha its making me feel stupid.

    i am so thankful for all the help so far, this is by far one of the most active and helpful communities i have encountered.

    how would i find out if i am running a cache server? would it be easier i if created a login for one of you? i don't want to keep taking up your time if i keep breaking things, but i am dead certain that of all the forum software i have seen, i want to use NodeBB for sure.


  • Problems with NGINX config.
  • Q QWUX

    i didn't remember doing it, but i have got them back (by reverting to a snapshot of my droplet).

    so, at this stage, still don't have the nginx proxy/redirect working, and when users are logged in, the top bar doesn't have the conditional menu as shown on this forum, it just displays "register login" as though no user were logged in. but when in the admin section, my user avatar shows up there.


  • Problems with NGINX config.
  • Q QWUX

    @ planner @julian thanks for all the help guys.
    this is where i have gotten - www.talk.cloudmounta.in:4567

    i updated the sites-available/www.talk.cloudmounta.in to have the proxy pass http://talk.cloudmounta.in:4567; - but www.talk.cloudmounta.in still just shows the nginx start page.

    now, for some reason, after i installed the Facebook sso plugin, i can not login normally, the login page only shows the alternate login (fb).

    i got the nginx service to restart, just fine thank you @julian


  • Problems with NGINX config.
  • Q QWUX

    @planner thanks for the quick reply...

    sites-available/www.talk.cloudmounta.in:

    server {
    listen 80;

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

    }

    the error log located where you asked is empty.
    and i believe i had made a symlink in sites-enabled in the nginx dir.


  • Problems with NGINX config.
  • Q QWUX

    also, i haven't been able to get any of the forever/supervisor installs to work. if the server reboots, nodebb still needs manual restart.

    i really like the way nodebb works and i want to use it for this project, but i fear the install process is still outside my skill level.


  • Problems with NGINX config.
  • Q QWUX

    @julian thanks so much for your help.
    i started with a fresh install, and followed your instructions.
    everything seemed to work up until the
    service nginx reload. it says fail.

    any ideas?


  • Problems with NGINX config.
  • Q QWUX

    hey guys,
    fell in love with NodeBB as soon as i saw it, so i had to get it going for myself.
    signed up for a digital ocean droplet and seemed to have everything working.

    the only problem i have come across is with the NGINX proxy/redirect. i have never worked with it before, and while i have tried, it just doesn't seem to be working for me.

    i am trying to get the forum working on a subdomain from our main site, and without the need for the port.
    i have managed to get the subdomain working fine, as you can see at www.talk.cloudmounta.in:4567 but without the port there, it just shows the NGINX holding page.

    can anyone help me to get this working? i feel like i have just been going round in circles trying to get it to work...

    I have the NGINX config in a number of places:

    etc/nginx/conf.d/server.conf
    etc/nginx/nginx.conf
    etc/nginx/sites-available/default
    etc/nginx/sites-enabled/default
    

    using the same setup as the wiki (https://github.com/designcreateplay/NodeBB/wiki/Configuring-nginx-as-a-proxy-to-NodeBB) with NGINX 1.4.7

    my config.json file is as follows (with sensitive info removed)

    {
        "base_url": "http://talk.cloudmounta.in",
        "port": "4567",
        "use_port": true,
        "secret": "XXXXX",
        "bind_address": "127.0.0.1",
        "database": "redis",
        "redis": {
            "host": "127.0.0.1",
            "port": "6379",
            "password": "XXXXX",
            "database": "0"
        },
        "bcrypt_rounds": 12,
        "upload_path": "/public/uploads",
        "relative_path": ""
    }
    

    any pointers?

  • 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