Raspberry cannot be accessed via NGINX reverse Proxy from the Internet

I installed Homassisatant via Docker on a Raspberry Pi and it works fine under the local network (https://192.168.178.34:8123/) with self signed certificates.

Now I want to access my rasp through rooting or rather proxy passing over my main-server (mywebpage.spdns.de with the local IP adress 192.168.178.92):

mywebpage.spdns.de/hass → local network adress: https://192.168.178.34:8123/

I followed this Reverse proxy using NGINX - #48 by SaschaMuehl instruction but I just get the Hassio logo and no login screen

MyNginx-Error log on the reverse proxy main server try to find the data locally (192.168.178.92):

2022/01/04 21:59:33 [error] 169889#169889: *1 open() "/var/www/static/fonts/roboto/Roboto-Regular.woff2" failed (2: No such file or directory), client: 78.54.96.146, server: leisa.spdns.org, request: "GET /static/fonts/roboto/Roboto-Regular.woff2 HTTP/2.0", host: "leisa.spdns.org", referrer: "https://leisa.spdns.org/hass/"
2022/01/04 21:59:33 [error] 169889#169889: *1 open() "/var/www/frontend_latest/core.360c502d.js" failed (2: No such file or directory), client: 78.54.96.146, server: leisa.spdns.org, request: "GET /frontend_latest/core.360c502d.js HTTP/2.0", host: "leisa.spdns.org", referrer: "https://leisa.spdns.org/hass/"
2022/01/04 21:59:33 [error] 169889#169889: *1 open() "/var/www/frontend_latest/app.a59fd8af.js" failed (2: No such file or directory), client: 78.54.96.146, server: leisa.spdns.org, request: "GET /frontend_latest/app.a59fd8af.js HTTP/2.0", host: "leisa.spdns.org", referrer: "https://leisa.spdns.org/hass/"
2022/01/04 21:59:33 [error] 169889#169889: *1 open() "/var/www/static/fonts/roboto/Roboto-Medium.woff2" failed (2: No such file or directory), client: 78.54.96.146, server: leisa.spdns.org, request: "GET /static/fonts/roboto/Roboto-Medium.woff2 HTTP/2.0", host: "leisa.spdns.org", referrer: "https://leisa.spdns.org/hass/"
2022/01/04 21:59:33 [error] 169889#169889: *1 open() "/var/www/static/icons/favicon-apple-180x180.png" failed (2: No such file or directory), client: 78.54.96.146, server: leisa.spdns.org, request: "GET /static/icons/favicon-apple-180x180.png HTTP/2.0", host: "leisa.spdns.org", referrer: "https://leisa.spdns.org/hass/"
2022/01/04 21:59:33 [error] 169889#169889: *1 open() "/var/www/static/icons/favicon.ico" failed (2: No such file or directory), client: 78.54.96.146, server: leisa.spdns.org, request: "GET /static/icons/favicon.ico HTTP/2.0", host: "leisa.spdns.org", referrer: "https://leisa.spdns.org/hass/"

But the Hassio-Data is on my Raspberry (https://192.168.178.34:8123/).

Can anybody tell me why the prox passing through the fritzbox → through my reverse proxy server to the Raspabarry in the local network not works? Thanks in advance

I’ve got the same problem. Can anybody help?

1 Like