Skip to content

Commit

Permalink
Change order or ProxyPass in first example (home-assistant#5185)
Browse files Browse the repository at this point in the history
I was not able to login to Home Assistant till I change he Home Assistant config to place the Websocket reverse proxy info BEFORE the web UI info.  In the other order it loads, but never lets me log in.  If I reverse them, then I login just fine.
  • Loading branch information
apastuszak authored and fabaff committed Apr 15, 2018
1 parent a6795e5 commit 4290409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/_docs/ecosystem/apache.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ To be able to access to your Home Assistant instance by using https://home.examp
ServerName home.example.org
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://localhost:8123/
ProxyPassReverse / http://localhost:8123/
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]
Expand Down

0 comments on commit 4290409

Please sign in to comment.