SSL, nginx, location

  • I'm following this guide:
    and it works great, but I'd like the forum to not be available directly from, but from

    However, if I change
    location /
    location /forum

    ...the CSS and images are unavailable. What am I doing wrong?


  • Gamers

    I had this issue previously. Just add /forum to proxy_pass value while location is set to /forum as well.


  • I had the same issue before, make sure to add the forum next to location in your nginz

    Location /forum

    And apart from the /forum on your local proxy change it on your configuration. Js on in your nodebb folder

    Sorry am from mobile and it's kinda hard to paste code 🙂

  • Plugin & Theme Dev


    location /forum {
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_redirect off;
        proxy_buffering   off;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";


    <VirtualHost *:8080>
    ProxyRequests off
    <Proxy *>
        Order deny,allow
        Allow from all
    ProxyPass / ws://
    ProxyPassReverse / ws://
    ProxyPass /forum
    ProxyPassReverse /forum

  • Plugin & Theme Dev


        "url": "",
        "secret": "ecb356d8-120a-433c-866f-46589291e491",
        "database": "redis",
        "redis": {
            "host": "",
            "port": "6379",
            "password": "goodpassword11233455677898",
            "database": "0"



Looks like your connection to NodeBB was lost, please wait while we try to reconnect.