github new-usemame/Calibre-Web-NextGen v4.0.100
v4.0.100 — Reverse-proxy env-var overrides for Tailscale Funnel, Cloudflare Tunnel, and friends

2 hours ago

What's new

docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.0.100

(or :latest)

v4.0.100 — milestone

100 patch releases in. Thanks everyone for the bug reports, PRs, and patience.

Reverse-proxy without header injection

If you're running Calibre-Web-NextGen behind Tailscale Funnel, Cloudflare Tunnel, or any other opaque TLS terminator that you can't configure to inject X-Script-Name / X-Scheme / X-Forwarded-Host, v4.0.100 lets you achieve the same effect with environment variables:

PROXY_SCRIPT_NAME=/calibre       # mount under /calibre
PROXY_SCHEME=https               # tell Flask the public scheme is https
PROXY_HOST=books.example.com     # externally-visible hostname
PROXY_PORT=8443                  # appended to PROXY_HOST when no port set

Headers always win when both are set, so existing nginx / Traefik configs continue to work without changes. The middleware also now recognizes X-Forwarded-Proto (de-facto standard) alongside the historic X-Scheme.

Backports janeczku/calibre-web #3369.

Credits

Thanks @chtzvt (janeczku PR #3369) for the original patch.

Don't miss a new Calibre-Web-NextGen release

NewReleases is sending notifications on new releases.