Add tinyauth support for subdomain confs

This commit is contained in:
thespad
2025-06-08 16:41:45 +01:00
parent 0ea06f4aa0
commit c6a0144e5d
253 changed files with 1788 additions and 261 deletions
@@ -1,4 +1,4 @@
## Version 2024/07/16
## Version 2025/06/08
# make sure that your unifi-network-application container is named unifi-network-application
# 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;
@@ -24,6 +24,9 @@ server {
# enable for Authentik (requires authentik-location.conf in the location block)
#include /config/nginx/authentik-server.conf;
# enable for Tinyauth (requires tinyauth-location.conf in the location block)
#include /config/nginx/tinyauth-server.conf;
location / {
# enable the next two lines for http auth
#auth_basic "Restricted";
@@ -38,6 +41,9 @@ server {
# enable for Authentik (requires authentik-server.conf in the server block)
#include /config/nginx/authentik-location.conf;
# enable for Tinyauth (requires tinyauth-server.conf in the server block)
#include /config/nginx/tinyauth-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app unifi-network-application;