remove unused reverse proxies
change
commit 38ce60f4efc495119483b2a9c50e89bd506bfae8
author Alpha Chen <alpha@kejadlen.dev>
date
parent 8e8f8e4d
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index f7bc129..0ace02f 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -51,20 +51,6 @@ search.kejadlen.dev {
 	reverse_proxy searxng:8080
 }
 
-# {{ hledger.subdomain }}.kejadlen.dev {
-# 	forward_auth authelia:9091 {
-# 		uri /api/verify?rd=https://auth.{{ domain }}
-# 		# 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
-# 	}
-
-# 	reverse_proxy hledger:5000 {
-# 		import trusted_proxy_list
-# 	}
-# }
-
 books.chislan.family {
 	forward_auth authelia:9091 {
 		uri /api/verify?rd=https://auth.chislan.family
@@ -79,20 +65,6 @@ books.chislan.family {
 	}
 }
 
-books.kejadlen.dev {
-	forward_auth authelia:9091 {
-		uri /api/verify?rd=https://auth.{{ domain }}
-		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
-	}
-}
-
 docs.chislan.family {
 	forward_auth authelia:9091 {
 		uri /api/verify?rd=https://auth.chislan.family
@@ -112,25 +84,6 @@ docs.chislan.family {
 	}
 }
 
-docs.kejadlen.dev {
-	forward_auth authelia:9091 {
-		uri /api/verify?rd=https://auth.{{ domain }}
-		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 paperless-ngx:8000 {
-		import trusted_proxy_list
-	}
-
-	redir /flower /flower/
-	handle /flower/* {
-		reverse_proxy paperless-ngx:5555
-	}
-}
-
 hey.kejadlen.dev
 	reverse_proxy gotosocial:8080