nginx configuration

Technical Support

Suggested Topics


  • 2 Votes
    8 Posts
    2k Views

    @baris @julian these guys are awesome and the most helpful team ever! Thanks!

    We are trying our best to support node bb and take it to next level.

  • SSL, nginx, location

    Technical Support
    0 Votes
    5 Posts
    2k Views

    config.json:

    { "url": "http://sub.domen.com/forum", "secret": "ecb356d8-120a-433c-866f-46589291e491", "database": "redis", "redis": { "host": "127.0.0.1", "port": "6379", "password": "goodpassword11233455677898", "database": "0" } }
  • 0 Votes
    2 Posts
    2k Views

    Well.. For the nodebb application himself you could use "forever" .... but when it turned 5x i stopped using forever (@julian posted somewhere that nodebb application can do the forever job himself)

    for the database.. well.. dont monitor it YET cz the volume of my transactions is low...

    But any service monitor application could do it.. like nagios ...or newrelic

  • 0 Votes
    6 Posts
    4k Views

    @jimmerz213 said:
    <stuff>

    So I just built a quick VM locally and followed the guides I mentioned above. Did nothing differently except I didn't install php and apache before and start ripping things out. It works flawlessly. I can only imagine at this point its something with my server and I think I may just wipe it and start clean, using nginx only instead of apache.

    Thanks for looking at this stuff guys - I appreciate it.

    Edit - welp, it works great now. Probably has this whole time. The URL I was using to hit the forums was set to be x.x.132.x, it had to be x.x.135.x. Hey, at least I learned a TON about nodebb and nginx 🙂 I'll take it.

  • 0 Votes
    8 Posts
    4k Views

    @a_5mith I have it setup on a new DO droplet using the server IP (no domain yet) for both server_name and the base_url - basically replacing localhost referenced in my previous post. Hope that makes sense.

    for example:
    "base_url": "http://xxx.xxx.xxx.xxx",
    server_name xxx.xxx.xxx.xxx;

    working url via http://xxx.xxx.xxx.xxx:4567/forum
    404 not found for http://xxx.xxx.xxx.xxx/forum

    Appreciate all you help.