use proxy.conf to increase code reuse

This commit is contained in:
Willy Hardy
2020-10-26 16:44:56 -04:00
committed by GitHub
parent 08b3fdb4b0
commit 68f98b0ab8
+1 -3
View File
@@ -38,9 +38,7 @@ server {
}
location /api {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
include /config/nginx/proxy.conf;
set $upstream_app homeassistant;
set $upstream_port 8123;
set $upstream_proto http;