Hi,
I just noticed that there is now a base_url
parameter for the http component.
Does this mean, I can run hass on an arbitrary url path now, e.g. even behind an apache reverse proxy like https://myhost.example.com/homeassistant?
How would a correct configuration look like then - I noticed that in 35.2 there has been resolved a conflict with the server_port
parameter?
My original config looked like this:
http:
server_port: 8123
And I had an apache vhost that basically did:
ProxyPass /api/websocket ws://localhost:8123/api/websocket
ProxyPassReverse /api/websocket ws://localhost:8123/api/websocket
ProxyPass / http://127.0.0.1:8123/
ProxyPassReverse / http://127.0.0.1:8123/
ProxyPreserveHost On
So with the base_url parameter, could I do it just like this:
http:
#server_port: 8123
base_url: mydomain.example.com:8123/hass
and regarding apache:
<Location /hass>
ProxyPass http://127.0.0.1:8123/hass
ProxyPassReverse http://127.0.0.1:8123/hass
[...]
</Location>
What about the server port with regards to the base_url parameter?
“Release 0.35.2 - December 19
When base url specified, do not combine it with server_port (@balloob)”
Is there a place that provides a little more detail to the release notes, generally speaking?
Other than the component documentation page for the affected component?
Sebastian