mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-14 17:13:03 -07:00
Merge pull request #363 from golles/patch-1
Allow Home Assistant local files to bypass auth
This commit is contained in:
commit
f9d6d9ca4f
1 changed files with 9 additions and 0 deletions
|
@ -46,4 +46,13 @@ server {
|
|||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
}
|
||||
|
||||
location /local {
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app homeassistant;
|
||||
set $upstream_port 8123;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue