0 votes
I have bought the ProxyPass module and is a bit disappointed as it works on some sites but not on others.

For my Home Assistant (hassio) implementation it does not work without manually changing the configuration to accept websockets. The configuration file
is automatically created by the module and hence overwritten whenever the configuration s is changed.
I had to add below lines to get Home Assistant working
 # Home Assistant WebSockets
ProxyPass /api/websocket ws://
ProxyPassReverse /api/websocket ws://

Is there a way to do this better so the manual configuration persists?


Wednesday, February 09 2022, 12:36 PM
Share this post:

Accepted Answer

Thursday, March 17 2022, 11:32 AM - #Permalink
0 votes
Difficult. Proxy Pass is a third party app and the developer has not maintained it for years. You can set the immutable bit on the file - "chattr +i /etc/httpd/conf.d/x_proxypass.conf" so the file will never change, but you need to remember to unset it when you need to change it. Otherwise have a look at hacking /usr/clearos/apps/proxypass/libraries/ProxyPassProcessor.php to get what you want.
The reply is currently minimized Show
Responses (0)
  • There are no replies here yet.
Your Reply