mu
change
commit b4a9123c87b32542b5ac10d470a9176182c609db
author Alpha Chen <alpha@kejadlen.dev>
date
parent d277f4a1
diff --git a/lotus-land-story/paperless-ngx.yml b/lotus-land-story/paperless-ngx.yml
index 41491e0..edb75a9 100644
--- a/lotus-land-story/paperless-ngx.yml
+++ b/lotus-land-story/paperless-ngx.yml
@@ -43,7 +43,7 @@
           PAPERLESS_TASK_WORKERS: "1"
           PAPERLESS_THREADS_PER_WORKER: "1"
           PAPERLESS_TIME_ZONE: America/Los_Angeles
-          PAPERLESS_URL: https://docs.chislan.family
+          PAPERLESS_URL: https://docs.kejadlen.dev
           PAPERLESS_WEBSERVER_WORKERS: "1"
         volumes:
           - /mnt/lotus-land-story/paperless-ngx/data:/usr/src/paperless/data
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index 566c70e..5916be0 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -29,17 +29,13 @@ grafana.{{ domain }} {
 	reverse_proxy grafana:3000
 }
 
+{% for domain in ("kejadlen.dev", "chislan.family") %}
 auth.{{ domain }} {
 	reverse_proxy authelia:9091 {
 		import trusted_proxy_list
 	}
 }
-
-auth.chislan.family {
-	reverse_proxy authelia:9091 {
-		import trusted_proxy_list
-	}
-}
+{% endfor %}
 
 search.{{ domain }} {
 	log