Hi,
The issue is when I attempt to access my https://domain.duckdns.org/hass I get 404: Not Found
If I run it on my local network http://192.168.1.2:8123 it works just fine.
What have I attempted to do:
- Manually installed Home Assistant onto a Raspi using virtualenv(behind ISP NAT).
- SSH reverse proxy from Home assistant device to Cloud machine(has public IP and assigned to duckdns.org domain name)
- On cloud machine there is Caddy which reverse proxies the https request and forward the request to the Raspi with Haas.
More details
On Raspi haas device I’ve manually installed autossh and created a service. However for testing i’m using an ssh cmd like this(I can see the connection made on the Cloud machine):
ssh -i /home/pi/.ssh/ssh-key-2020-10-21.key -R 8888:localhost:8123 ubuntu@mypublicip
My Caddyfile:
domain.duckdns.org/haas {
reverse_proxy * localhost:8888
}
What am I missing?
Thanks