diff --git a/unifi-network-application.subdomain.conf.sample b/unifi-network-application.subdomain.conf.sample index 7b17e51..c6fea4d 100644 --- a/unifi-network-application.subdomain.conf.sample +++ b/unifi-network-application.subdomain.conf.sample @@ -3,6 +3,7 @@ # make sure that your dns has a cname set for unifi # NOTE: If you use the proxy_cookie_path setting in proxy.conf you need to remove HTTPOnly; # ex: proxy_cookie_path / "/; Secure"; +# change $upstream_port to 443 if connecting to a Unifi Cloud Key server { listen 443 ssl http2; @@ -40,7 +41,7 @@ server { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app unifi-network-application; - set $upstream_port 8443; #change to 443 if connecting to a Unifi Cloud Key + set $upstream_port 8443; set $upstream_proto https; proxy_pass $upstream_proto://$upstream_app:$upstream_port;