From a3d330891840d4dbc14fc29c393b720fdf8ba76c Mon Sep 17 00:00:00 2001 From: Bryon Lewis Date: Mon, 19 Feb 2024 11:14:30 -0500 Subject: [PATCH] allowed hosts --- bats_ai/settings.py | 1 + traefik/dynamic.xml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/bats_ai/settings.py b/bats_ai/settings.py index 88527a8..e93292f 100644 --- a/bats_ai/settings.py +++ b/bats_ai/settings.py @@ -99,6 +99,7 @@ class ProductionConfiguration(BatsAiMixin, ProductionBaseConfiguration): MINIO_STORAGE_AUTO_CREATE_MEDIA_POLICY = 'READ_WRITE' MINIO_STORAGE_MEDIA_USE_PRESIGNED = True MINIO_STORAGE_MEDIA_URL = 'http://127.0.0.1:9000/django-storage' + ALLOWED_HOSTS = ['batai.kitware.com'] class HerokuProductionConfiguration(BatsAiMixin, HerokuProductionBaseConfiguration): diff --git a/traefik/dynamic.xml b/traefik/dynamic.xml index e69de29..ca6764f 100644 --- a/traefik/dynamic.xml +++ b/traefik/dynamic.xml @@ -0,0 +1,5 @@ +tls: + options: + default: + minVersion: VersionTLS12 + sniStrict: true