From 5c478342995d76ded7423199278f600a36b21bb2 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Thu, 2 Jan 2025 17:21:48 +0100 Subject: [PATCH] services.wger: enables AUTH_PROXY_HEADER --- machines/gerd/services/wger/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/machines/gerd/services/wger/default.nix b/machines/gerd/services/wger/default.nix index 26c0394..fa5b9cb 100644 --- a/machines/gerd/services/wger/default.nix +++ b/machines/gerd/services/wger/default.nix @@ -19,6 +19,11 @@ in { # wger specific settings wgerSettings = { EMAIL_FROM = "wger Workout Manager "; + + # use authelia for authentication (disable guest users + regisration) + AUTH_PROXY_HEADER = config.mine.shared.lib.authelia.protectedHeaders.username; + ALLOW_GUEST_USERS = false; + ALLOW_REGISTRATION = false; }; # django specific settings