mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-02-03 16:14:10 +08:00
use proxy.conf to increase code reuse
This commit is contained in:
parent
08b3fdb4b0
commit
68f98b0ab8
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user