A tentative plan about NGINX Reverse Proxy ?

General Discussion
  • Hi. I have a tentative plan about NGINX reverse proxy. I setup NodeBB on server A and setup NGINX on server B and then users access my forum.
    I guess that when users request my website, HTML file is sent from A to B and then from B to user, but all other resources(images/css/js) are requested from A directly.
    How about this plan. Is this right? Thanks!


Suggested Topics


  • 0 Votes
    17 Posts
    3k Views

    Ok, thanks to both of you. In case of any news i will update this thread. But for now i will continue with this bug. We can live with this.

  • -1 Votes
    1 Posts
    1k Views

    Yes, Nginx and HHVM are running (this last one in socket mode) and I explicitly commented the line in the config for the server port. Error log files for Nginx and HHVM are empty.

    It returns a 502 bad gateway when I visit a file ending in .php or .hh, EVEN if it doesn't exist.

    I have followed the SAME tutorial here: https://community.nodebb.org/topic/11032/nodebb-full-stack-setup (Linux Ubuntu 16.04.3 LTS) and service hhvm status and service nginx status are up, loaded, running. HHVM works in CLI as php command and even returns the version HipHop if I add the -v parameter.

    PHP-FPM is NOT installed.

  • 0 Votes
    1 Posts
    2k Views

    Hi,

    I've installed nodeBB and configured IIS8 with port 80 as proxy so I'm able to use
    forums.{page}.eu for the nodeBB board.

    The problem is, when I try to use the forum (e.g posting), this error appears: (it's in german)
    Firefox kann keine Verbindung zu dem Server unter ws://forums.{page}.eu/socket.io/?EIO=3&transport=websocket aufbauen.
    -> Firefox was not able to connect to the server at ws://forums.....

  • NGINX PROXY

    General Discussion
    0 Votes
    8 Posts
    5k Views

    Glad to hear it was resolved 😄

  • 0 Votes
    12 Posts
    4k Views

    @psychobunny said:

    awesome, looking forward to it 🙂 feel free to link to your guide on the wiki as well 🙂

    will do 🙂