mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 21:11:31 -07:00
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:
parent
a79db5aa4c
commit
b499688ef8
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ server {
|
||||||
|
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
set $upstream_unifi unifi;
|
set $upstream_unifi unifi-controller;
|
||||||
proxy_pass https://$upstream_unifi:8443;
|
proxy_pass https://$upstream_unifi:8443;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ server {
|
||||||
|
|
||||||
include /config/nginx/proxy.conf;
|
include /config/nginx/proxy.conf;
|
||||||
resolver 127.0.0.11 valid=30s;
|
resolver 127.0.0.11 valid=30s;
|
||||||
set $upstream_unifi unifi;
|
set $upstream_unifi unifi-controller;
|
||||||
proxy_pass https://$upstream_unifi:8443;
|
proxy_pass https://$upstream_unifi:8443;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue