Home assistant SWAG reverse proxy not working

If you’re seeing the default SWAG landing page, that means one of the following happened:

  • your proxy conf for HA is not enabled properly
  • you’re not using the right address (server_name needs to match whatever address you’re accessing it at, ie. homeassistant.* would match https://homeassistant.yourdomain.com)
  • old browser cache

Do the following:

  • Set upstream_app to HA server LAN IP
  • Leave server_name as is, and access it at https://homeassistant.yourdomain.com
  • Set the trusted_proxies address to cover whatever IP SWAG would be connecting from. If SWAG is accessing HA via the host server IP, SWAG’s IP will likely show up as SWAG’s host’s LAN IP.
1 Like