release: v0.17.0 (#677)
See CHANGELOG.md, section [0.17.0] — 2026-09-23.
This commit is contained in:
@@ -192,3 +192,11 @@ photos.example.com {
|
||||
> limits on the password endpoints. See
|
||||
> [Trusted Proxies](gallery-config.md#trusted-proxies) for the setting and a
|
||||
> matching nginx config.
|
||||
|
||||
Login cookies (admin session and gallery passwords) are marked `Secure` when the
|
||||
request arrived over HTTPS, which the app learns from `X-Forwarded-Proto`. Caddy
|
||||
and Traefik send it on their own; nginx needs the
|
||||
`proxy_set_header X-Forwarded-Proto $scheme;` line from the config linked above.
|
||||
Opening the app over plain HTTP, e.g. `http://server:7211` on a home network,
|
||||
works too: the cookies are then set without `Secure`, since a browser would
|
||||
discard them otherwise.
|
||||
|
||||
Reference in New Issue
Block a user