Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95314

Apache Proxy to HA instance while serving other sites

$
0
0

@roms wrote:

Is it possible to use apache to serve other sites and also act as a proxy for homeassistant?

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95314

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>