Update unifi-network-application.subdomain.conf.sample

This commit is contained in:
Nojwe 2023-11-12 20:35:52 -05:00 committed by GitHub
parent f3e8794c7b
commit 009129adcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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