From d475b6c4016030604fcbeb67d828e130e7168989 Mon Sep 17 00:00:00 2001 From: NullBite Date: Mon, 15 Jul 2024 00:39:46 -0400 Subject: [PATCH] authelia: set forceSSL for endpoint --- hosts/rpi4/authelia.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/rpi4/authelia.nix b/hosts/rpi4/authelia.nix index efcf419..6a88dda 100644 --- a/hosts/rpi4/authelia.nix +++ b/hosts/rpi4/authelia.nix @@ -222,6 +222,8 @@ in getUpstreamFromInstance config.authelia.endpoint.instance ); + forceSSL = lib.mkIf (!(isNull config.authelia.endpoint.upstream)) true; + # authelia nginx internal endpoints locations = let