Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Home-assistant docker - access behind a proxy

Featured Replies

I've installed the home assistant docker from the apps tab. I could access this just fine via /<ip address>:8123/

 

However, When i added a reverse proxy (using Nginx Proxy Manager) with SSL, i get bad gateway 502 error when accessing the GUI.

The cert is valid according to google chrome.

 

I searched and found that maybe adding a line to the config file would work, however, when i navigate to \\TOWER1\appdata\home-assistant\configuration.yaml and try to save the file changes, i dont have permission.

 

Anyone else using home assistant that can possibly help? I will need access to the config files at a later date so how do i get permission to modify them?

 

 

EDIT: If i change the network type to BRIDGE and specify a port in the template (8123), I can now access the HA GUI with my reverse proxy. However, I think it needs to be HOST because all my smart devices disappear. 

 

Edited by jj_uk

13 hours ago, jj_uk said:

I've installed the home assistant docker from the apps tab. I could access this just fine via /<ip address>:8123/

 

However, When i added a reverse proxy (using Nginx Proxy Manager) with SSL, i get bad gateway 502 error when accessing the GUI.

The cert is valid according to google chrome.

 

I searched and found that maybe adding a line to the config file would work, however, when i navigate to \\TOWER1\appdata\home-assistant\configuration.yaml and try to save the file changes, i dont have permission.

 

Anyone else using home assistant that can possibly help? I will need access to the config files at a later date so how do i get permission to modify them?

 

 

EDIT: If i change the network type to BRIDGE and specify a port in the template (8123), I can now access the HA GUI with my reverse proxy. However, I think it needs to be HOST because all my smart devices disappear. 

 

I experienced a similar problem what I did was opened the config.yaml and save a new instance by adding a letter to the file name then removed the original and renamed the copy to the original file name and then it let me edit and save not the most elegant solution but it worked and got me going

  • 1 year later...

What line did you add to the config file. I'm having some issues finding what it needs to be. Same issue. Thanks.

  • Author

It was a while ago and I can't remember. I'm running HA as host on unraid. My config file has 

http:


and nothing defined within it. 

 

Are you using Nginx Proxy Manager? My settings are:

 

Scheme: HTTP

Cache Assets: off

Block common exploits: on

Websockets Support: on

 

SSL Tab:

Force SSL: on

HSTS Enabled: on

HTTP/2 Support: on

HSTS Subdomains: off

 

Edit: See here: https://github.com/home-assistant/core/issues/24750

Edited by jj_uk

Are you keeping the HA container on the host network, or have you moved it to an isolated 'proxynet'? 

  • Author
21 hours ago, bigbangus said:

Are you keeping the HA container on the host network, or have you moved it to an isolated 'proxynet'? 

host.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.