Skip to content

Commit 048a9eb

Browse files
committed
feat(cwa): add TRUSTED_PROXY_COUNT to 2
1 parent 3ba638b commit 048a9eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/calibre_web_automated/templates/compose.override.yml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
environment:
1515
- TZ={{ timezone }}
1616
- HARDCOVER_TOKEN={{ calibre_web_automated_hardcover_token }}
17+
- TRUSTED_PROXY_COUNT=2 # Cloudflare Tunnel + reverse proxy (Caddy)
1718
volumes:
1819
- "{{ calibre_web_automated_data_dir }}/config:/config"
1920
- "{{ calibre_web_automated_data_dir }}/upload:/cwa-book-ingest"

0 commit comments

Comments
 (0)