@ishockwave wrote:
So I just got around setting up a reverse proxy for my Raspberry Pi running HomeAssistant and UniFi as Docker containers using Apache.
At first glance everything seemed to work fine.
But as I tried setting up Home Assistant Cast again today I noticed that all my Custom Components did not load on my Nest Hub.
I could see default Lovelace components but got the red error for anything custom.
All other devices (PCs, smartphone, tablets) work absolutely fine.Here is my apache config file
<VirtualHost *:443> ServerName home.xxxx.org SSLProxyEngine on SSLCertificateFile /etc/letsencrypt/live/home.reisacher.org/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/home.reisacher.org/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf ProxyPreserveHost On ProxyRequests off ProxyPass /api/websocket ws://localhost:8123/api/websocket ProxyPassReverse /api/websocket ws://localhost:8123/api/websocket ProxyPass / http://localhost:8123/ ProxyPassReverse / http://localhost:8123/ RewriteEngine on RewriteCond %{HTTP:Upgrade} =websocket [NC] RewriteRule /(.*) ws://localhost:8123/$1 [P,L] RewriteCond %{HTTP:Upgrade} !=websocket [NC] RewriteRule /(.*) http://localhost:8123/$1 [P,L] </VirtualHost>
Has anyone done reverse proxy + Cast before and could point me in the right direction?
Posts: 1
Participants: 1