mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 04:51:33 -07: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 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue