mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-03 05:26:18 +01:00
dfd63ff1f1
Signed-off-by: Magic_RB <magic_rb@redalder.org>
14 lines
331 B
Plaintext
14 lines
331 B
Plaintext
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;
|
|
} |