security: implement AUTH_SECRET and secure map/exif API routes
This commit is contained in:
@@ -22,6 +22,10 @@ CACHE_TTL=300
|
||||
# Rate limit for image proxy (integer >= 1, requests per minute per IP, default: 120)
|
||||
# RATE_LIMIT_RPM=120
|
||||
|
||||
# Secret for signing auth cookies and encrypting asset tokens (string, min 16 chars).
|
||||
# If not provided, IMMICH_API_KEY will be used as a fallback (not recommended).
|
||||
# AUTH_SECRET=your-super-long-random-secret-here
|
||||
|
||||
# ── Album configuration ──────────────────────────────────────────
|
||||
# Albums, subpages, hero image, and passwords are defined in content/gallery.yaml
|
||||
# See content/gallery.yaml.example for the full reference.
|
||||
|
||||
Reference in New Issue
Block a user