Change upstream variable for new unifi-controller name.

As we're deprecating the old image and the new container is called unifi-controller.

@aptalca Unless you want to tackle this in a different way?
This commit is contained in:
chbmb 2019-02-18 00:41:15 +00:00 committed by GitHub
parent a79db5aa4c
commit b499688ef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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