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
+7 -1
View File
@@ -1,4 +1,4 @@
## Version 2024/07/16
## Version 2025/06/08
# make sure you have added the following environmental variables to your run command/compose file
# CMD_DOMAIN=codimd.server.com
# CMD_PROTOCOL_USESSL=true
@@ -22,6 +22,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";
@@ -36,6 +39,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 codimd;