mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-13 18:31:59 +01:00
14 lines
331 B
Text
14 lines
331 B
Text
|
include /local/security.conf;
|
||
|
|
||
|
location / {
|
||
|
include /local/headers.conf;
|
||
|
|
||
|
proxy_http_version 1.1;
|
||
|
proxy_set_header Upgrade $http_upgrade;
|
||
|
proxy_set_header Connection "upgrade";
|
||
|
|
||
|
proxy_pass http://home-assistant/;
|
||
|
|
||
|
# Disable buffering when the nginx proxy gets very resource heavy upon streaming
|
||
|
proxy_buffering off;
|
||
|
}
|