MirrorManager: set SERVER_NAME to generate URLs in cronjobs

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-06-05 14:06:54 +02:00
parent cc849d46ad
commit 9e01559877
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -55,6 +55,10 @@ OIDC_CLIENT_SECRETS = "/etc/mirrormanager-secrets/client_secrets.json"
# to be recognized as an admin.
ADMIN_GROUP = ["sysadmin-main", "sysadmin-web"]
# Official URL of MirrorManager. This is needed for the crawler to send emails with full URLs to MirrorManager
SERVER_NAME = "{{ mirrormanager_hostname }}"
PREFERRED_URL_SCHEME = "https"
# Email of the admin to which send notification or error
# ADMIN_EMAIL = "admin@fedoraproject.org"
ADMIN_EMAIL = "abompard@fedoraproject.org"