• I'm following this guide: https://docs.nodebb.org/en/latest/configuring/proxies/nginx.html
    and it works great, but I'd like the forum to not be available directly from my.server.org, but from my.server.org/forum

    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 /socket.io/1/websocket ws://
    ProxyPassReverse /socket.io/1/websocket ws://
    ProxyPass /forum
    ProxyPassReverse /forum
  • Plugin & Theme Dev


        "url": "http://sub.domen.com/forum",
        "secret": "ecb356d8-120a-433c-866f-46589291e491",
        "database": "redis",
        "redis": {
            "host": "",
            "port": "6379",
            "password": "goodpassword11233455677898",
            "database": "0"

Suggested Topics

  • 1
  • 4
  • 10
  • 4
  • 4
| | |

© 2014 – 2022 NodeBB, Inc. — Made in Canada.