1. I am not able to remove 4567 from http://subdomain:4567
      How to do it ?
      Steps I am following
      (a) Reading from here https://docs.nodebb.org/configuring/proxies/apache/
      (b) Making subdomain.conf , keeping it inside /etc/apache2/conf.d/includes
      and attaching this line Include /etc/apache2/conf.d/includes/subdomain.conf into httpd.conf
      (c) Changing URL of config.json inside NodeBB folder to http://subdomain.conf

    Code which I am using in subdomain.conf is as follows :
    <VirtualHost *:80>
    ServerName www.sub-domain.com
    RequestHeader set X-Forwarded-Proto "http"

    ProxyRequests off
    <Proxy *>
        Order deny,allow
        Allow from all
    RewriteEngine On
    RewriteCond %{REQUEST_URI}  ^/socket.io            [NC]
    RewriteCond %{QUERY_STRING} transport=websocket    [NC]
    RewriteRule /(.*)           ws://$1 [P,L]
    ProxyPass /
    ProxyPassReverse /


  • This post is deleted!

Suggested Topics

| | |

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