Is it possible to use apache to serve other sites and also act as a proxy for homeassistant?
On the same machine, I want to serve content from /srv/http to mysite.com and also have homeassistant (mysite.com:8123) proxied to be accessible at mysite.com/ha
From this thread (Apache reverse proxy with path) it seems like this is not possible, that using a proxy also requires using a subdomain (ha.mysite.com).
My attempts to implement this (using the method here: https://www.home-assistant.io/docs/ecosystem/apache/, and from the suggestions provided by @rishatik92 in this thread: Apache proxy with SSL) have gotten me either name resolution errors (using a subdomain: ha.mysite.com), or object not found errors (using a virtual directory: mysite.com/ha).
I use a dynamic dns service with a port forward on my router, and I don’t think I can get a subdomain to work within this setup, so I’d really like to be able to use a virtual directory.
Does anyone have a virtual directory setup working and can share apache conf files? Or can anyone confirm a subdomain is required?