mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-02-11 05:26:04 +08:00
Merge pull request #19 from linuxserver/unifi-controller
Change upstream variable for new unifi-controller name.
This commit is contained in:
commit
dc800b8e2c
@ -1,4 +1,4 @@
|
||||
# make sure that your dns has a cname set for unifi and that your unifi container is not using a base url
|
||||
# make sure that your dns has a cname set for unifi and that your unifi-controller container is not using a base url
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
@ -24,7 +24,7 @@ server {
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_unifi unifi;
|
||||
set $upstream_unifi unifi-controller;
|
||||
proxy_pass https://$upstream_unifi:8443;
|
||||
}
|
||||
|
||||
@ -39,7 +39,7 @@ server {
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_unifi unifi;
|
||||
set $upstream_unifi unifi-controller;
|
||||
proxy_pass https://$upstream_unifi:8443;
|
||||
proxy_buffering off;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
Loading…
x
Reference in New Issue
Block a user