change calibre-web domain
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index 2d4c362..8784d26 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -55,6 +55,20 @@ search.kejadlen.dev {
# }
# }
+books.chislan.family {
+ forward_auth authelia:9091 {
+ uri /api/verify?rd=https://auth.chislan.family
+ copy_headers Remote-User
+
+ ## This import needs to be included if you're relying on a trusted proxies configuration.
+ import trusted_proxy_list
+ }
+
+ reverse_proxy calibre-web:8083 {
+ import trusted_proxy_list
+ }
+}
+
books.kejadlen.dev {
forward_auth authelia:9091 {
uri /api/verify?rd=https://auth.{{ domain }}
diff --git a/lotus-land-story/templates/authelia_configuration.yml b/lotus-land-story/templates/authelia_configuration.yml
index ab277b9..beed258 100644
--- a/lotus-land-story/templates/authelia_configuration.yml
+++ b/lotus-land-story/templates/authelia_configuration.yml
@@ -17,10 +17,6 @@ authentication_backend:
access_control:
default_policy: deny
rules:
- - domain: docs.kejadlen.dev
- policy: two_factor
- subject:
- - group:family
- domain: "*.chislan.family"
policy: two_factor
subject: