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; }