Hi team,
We are using httpd 2.4.4. This server has proxy reverse configured to more than 70 sites. While we enable a new proxy to a websocket site, other sites where running fine start getting intermittent erros 403 and 404. Imediatley, if we remove the new site and reload configuration, everything start working normally aging. The proxied websocket site always run fine.
We've tried different RewriteRule without any positive effect.
Do you have any advise? Any known issue regarding multiple virtual hosts and websockets?
Thanks,
Davi
-------------------- Configuration of proxied websocket site --------------------
<virtualHost *:443>ServerAdmin server@xxxxxxxxxxServerName myapp.domain.comServerAlias myapp.domain2.comErrorLog /var/log/error.logCustomLog /var/log/access.log
<IfModule mod_ssl.c>SSLEngine onSSLCertificateFile certs/cert.crtSSLCertificateKeyFile certs/key.keySSLCertificateChainFile certs/ca.crt</IfModule>
RewriteEngine OnRewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://127.0.0.1:3000/$1 [P,L]RewriteRule /(.*) http://127.0.0.1:3000/$1 [P,L]
ProxyPass / http://127.0.0.1:3000/ retry=1ProxyPassReverse / http://172.0.0.1:3000/ProxyRequests off
</Virtualhost>