From 635606eb133b42be3c5c0ef22c90b275d4b2a9a6 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Wed, 29 May 2024 23:35:44 +0200 Subject: [PATCH] Add inscriptions.tfjm.org as valid DNS Signed-off-by: Emmy D'Anello --- docs/dev/install.rst | 2 +- tfjm/settings_prod.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev/install.rst b/docs/dev/install.rst index a5ebce1..341ca00 100644 --- a/docs/dev/install.rst +++ b/docs/dev/install.rst @@ -60,7 +60,7 @@ Dans le fichier ``docker-compose.yml``, configurer : networks: - tfjm labels: - - "traefik.http.routers.inscription-tfjm2.rule=Host(`inscription.tfjm.org`, `plateforme.tfjm.org`)" + - "traefik.http.routers.inscription-tfjm2.rule=Host(`inscription.tfjm.org`, `inscriptions.tfjm.org`, `plateforme.tfjm.org`)" - "traefik.http.routers.inscription-tfjm2.entrypoints=websecure" - "traefik.http.routers.inscription-tfjm2.tls.certresolver=mytlschallenge" diff --git a/tfjm/settings_prod.py b/tfjm/settings_prod.py index 2024aeb..2d0e014 100644 --- a/tfjm/settings_prod.py +++ b/tfjm/settings_prod.py @@ -7,7 +7,7 @@ import os DEBUG = False # Mandatory ! -ALLOWED_HOSTS = ['inscription.tfjm.org', 'plateforme.tfjm.org'] +ALLOWED_HOSTS = ['inscription.tfjm.org', 'inscriptions.tfjm.org', 'plateforme.tfjm.org'] # Emails EMAIL_BACKEND = 'mailer.backend.DbBackend'