move calibre-web behind tailscale
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index 0ba6531..33f4d03 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -51,17 +51,12 @@ search.kejadlen.dev {
reverse_proxy searxng:8080
}
-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
- }
-
+books {
+ tls internal
+ bind tailscale/books
+ tailscale_auth
reverse_proxy calibre-web:8083 {
- import trusted_proxy_list
+ header_up Remote-User {http.auth.user.tailscale_user}
}
}