diff --git a/Procfile b/Procfile index 47d616b..2b611a1 100644 --- a/Procfile +++ b/Procfile @@ -1 +1,2 @@ web: gunicorn fincom.wsgi --log-file - +test: gunicorn fincom.wsgi --log-file - --keyfile server.key --certfile server.crt diff --git a/fincom/settings.py b/fincom/settings.py index 16eef22..9ee2fdb 100644 --- a/fincom/settings.py +++ b/fincom/settings.py @@ -25,12 +25,17 @@ SECRET_KEY = os.environ['SECRET_KEY'] # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True + ALLOWED_HOSTS = [ 'localhost', 'dtd-fincom.herokuapp.com', 'fincom.delt.space', ] +SECURE_SSL_REDIRECT = True +SESSION_COOKIE_SECURE = True +CSRF_COOKIE_SECURE = True + AUTHENTICATION_BACKENDS = [ 'social_core.backends.google.GoogleOAuth2', 'django.contrib.auth.backends.ModelBackend',