From d3205e987fd4a1a90d66fc8618551aa0dba2ec38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 30 Dec 2020 02:50:31 +0100 Subject: [PATCH] ssl postgres --- geogame/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geogame/settings.py b/geogame/settings.py index 0ac2042..7716d3d 100644 --- a/geogame/settings.py +++ b/geogame/settings.py @@ -94,6 +94,9 @@ DATABASES = { 'PASSWORD': os.environ.get("DB_PW"), 'HOST': '192.168.8.4', 'PORT': '5432', + 'OPTIONS': { + 'sslmode': 'require', + }, } }