mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-02-20 04:59:12 +08:00
Update unifi-network-application.subdomain.conf.sample
This commit is contained in:
parent
f3e8794c7b
commit
009129adcc
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user