diff --git a/source/_cookbook/apache_configuration.markdown b/source/_cookbook/apache_configuration.markdown index 2855837a3b5..56f5c693921 100644 --- a/source/_cookbook/apache_configuration.markdown +++ b/source/_cookbook/apache_configuration.markdown @@ -30,6 +30,8 @@ To be able to access to your home assistant instance by using https://home.examp ProxyPreserveHost On ProxyRequests Off ServerName home.example.org + ProxyPass /api/websocket ws://localhost:8123/api/websocket + ProxyPassReverse /api/websocket ws://localhost:8123/api/websocket ProxyPass / http://localhost:8123/ ProxyPassReverse / http://localhost:8123/ @@ -74,6 +76,8 @@ To access this instance by using https://countryside.example.org add to `/etc/ht ProxyPreserveHost On ProxyRequests Off ServerName countryside.example.org + ProxyPass /api/websocket ws://localhost:8123/api/websocket + ProxyPassReverse /api/websocket ws://localhost:8123/api/websocket ProxyPass / http://localhost:8124/ ProxyPassReverse / http://localhost:8124/