Make APP_URLS accept list

This commit is contained in:
2026-06-18 21:10:20 +02:00
parent 6f58eb3fde
commit d0d6b3f999
4 changed files with 33 additions and 22 deletions
+4 -4
View File
@@ -15,13 +15,13 @@ DEBUG=false
SECRET_KEY=change-me-to-a-long-random-string
# SECRET_KEY__FILE=/run/secrets/timetracker_secret_key
# Public URL of the site. Derives ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS.
# Public URL(s) of the site — one URL or comma-separated list of full URLs.
# Derives ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS from all listed URLs.
APP_URL=https://tracker.kucharczyk.xyz
# APP_URL=https://tracker.kucharczyk.xyz,https://www.tracker.kucharczyk.xyz
# Optional explicit overrides (comma-separated). When set they win over APP_URL.
# Useful behind a reverse proxy, e.g. ALLOWED_HOSTS=*
# Override ALLOWED_HOSTS directly for edge cases (e.g. behind a reverse proxy).
# ALLOWED_HOSTS=*
# CSRF_TRUSTED_ORIGINS=https://tracker.kucharczyk.xyz
# Container timezone.
TZ=Europe/Prague