From b499688ef855e1950d0c9eb2855a1c48b0fe337d Mon Sep 17 00:00:00 2001 From: chbmb Date: Mon, 18 Feb 2019 00:41:15 +0000 Subject: [PATCH] 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? --- unifi.subdomain.conf.sample | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unifi.subdomain.conf.sample b/unifi.subdomain.conf.sample index ab9ec20..c239b76 100644 --- a/unifi.subdomain.conf.sample +++ b/unifi.subdomain.conf.sample @@ -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;