Set session cookie and csrf cookie to secure

This commit is contained in:
Maximilian Friedersdorff 2024-06-28 10:03:48 +01:00
parent 66e9a47f8b
commit 63cc667b8a

View file

@ -15,3 +15,6 @@ ALLOWED_HOSTS = ["beer.gwairfelin.com"]
STATIC_ROOT = "/srv/www/beer.gwairfelin.com/static"
MEDIA_ROOT = "/srv/www/beer.gwairfelin.com/media"
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True