Skip to content

Commit 2486338

Browse files
authored
Allow Home Assistant local files to bypass auth
I've enabled Authalia myself and noticed that push notifications containing images from the /local (www) directory, wouldn't load (which makes sense as there was no auth).
1 parent ea7e76e commit 2486338

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

homeassistant.subdomain.conf.sample

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,13 @@ server {
4646
set $upstream_proto http;
4747
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4848
}
49+
50+
location /local {
51+
include /config/nginx/proxy.conf;
52+
include /config/nginx/resolver.conf;
53+
set $upstream_app homeassistant;
54+
set $upstream_port 8123;
55+
set $upstream_proto http;
56+
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
57+
}
4958
}

0 commit comments

Comments
 (0)