init support for auth_request and add authentik example

This commit is contained in:
florian
2022-06-13 13:06:03 +02:00
parent e852298352
commit e0f8895e9a
7 changed files with 270 additions and 19 deletions

View File

@@ -40,6 +40,10 @@ function trap_reload() {
}
trap "trap_reload" HUP
if [ -f /opt/bunkerweb/tmp/scheduler.pid ] ; then
rm -f /opt/bunkerweb/tmp/scheduler.pid
fi
if [ "$SWARM_MODE" != "yes" ] && [ "$KUBERNETES_MODE" != "yes" ] && [ "$AUTOCONF_MODE" != "yes" ] ; then
# execute temp nginx with no server
export TEMP_NGINX="yes"