Scaffold containerized Django/Wagtail app with core features
This commit is contained in:
9
config/settings/production.py
Normal file
9
config/settings/production.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from .base import * # noqa
|
||||
|
||||
DEBUG = False
|
||||
|
||||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||
USE_X_FORWARDED_HOST = True
|
||||
SECURE_SSL_REDIRECT = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
Reference in New Issue
Block a user