Changes

From SME Server
Jump to navigationJump to search
507 bytes added ,  13:52, 12 July 2022
Line 433: Line 433:  
  -A POSTROUTING -s 172.17.0.0/24 -o eth0 -j MASQUERADE
 
  -A POSTROUTING -s 172.17.0.0/24 -o eth0 -j MASQUERADE
    +
An alternative which I use on RocketChat is to proxy calls using mod_proxy_tunnel.so
 +
 +
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule98ExtraMod
 +
 +
{
 +
# Load wstunnel if available
 +
    if ( -e '/usr/lib64/httpd/modules/mod_proxy_wstunnel.so' ||
 +
        -e '/usr/lib/httpd/modules/mod_proxy_wstunnel.so') {
 +
            $OUT .= "LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so\n";
 +
    }
 +
}
 +
 +
You can then use some custom httpd templates to create a proxy pass virtual host.
    
===Docker Compose===
 
===Docker Compose===

Navigation menu