Configure Apache Web Server for NodeBB



  • I am trying to configure NodeBB on a site with /forum URI of the site serving NodeBB. Here is my configuration:

      Protocols h2 http/1.1
    
      ProxyRequests off
      <Location /forum>
        RequestHeader set X-Forwarded-Proto "http"
        ProxyPreserveHost On
        ProxyPass http://localhost:4567
        ProxyPassReverse http://localhost:4567
        RewriteCond %{REQUEST_URI} ^/socket.io [NC]
        RewriteCond %{QUERY_STRING} transport=websocket [NC]
        RewriteRule /(.*) ws://localhost:4567/$1 [P,L]
       </Location>
    

    However, NodeBB does not load completely. I am unable to load other assets of NodeBB. Can someone help out with this?


Log in to reply
 

Suggested Topics

  • 7
  • 7
  • 23
  • 8
  • 11
| |