auth
change
commit 9d617c8686c246c7b43f478be868e969ccae9828
author Alpha Chen <alpha@kejadlen.dev>
date
parent af19f774
diff --git a/lotus-land-story/authelia.yml b/lotus-land-story/authelia.yml
index 3c8ce2a..24edaa5 100644
--- a/lotus-land-story/authelia.yml
+++ b/lotus-land-story/authelia.yml
@@ -1,5 +1,7 @@
 - name: Set up Authelia
   hosts: lotus-land-story
+  vars:
+    version: 4.37.5
   vars_files:
     - vars.yml
   tasks:
@@ -31,7 +33,7 @@
       community.docker.docker_container:
         restart: true
         name: authelia
-        image: docker.io/authelia/authelia:4.37.5
+        image: docker.io/authelia/authelia:{{ version }}
         env:
           AUTHENTICATION_GUARD: remote_user_guard
         volumes:
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index 976a75c..358ae2e 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -57,7 +57,6 @@ books.{{ domain }} {
 	forward_auth authelia:9091 {
 		uri /api/verify?rd=https://auth.{{ domain }}
 		copy_headers Remote-User
-		# copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
 
 		## This import needs to be included if you're relying on a trusted proxies configuration.
 		import trusted_proxy_list