mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07:00
use proxy.conf to increase code reuse
This commit is contained in:
parent
08b3fdb4b0
commit
68f98b0ab8
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue