Commit 89b4ddca authored by Sergio Alonso's avatar Sergio Alonso

settings: enhance production deploy checks

parent 3af7fe67
......@@ -6,7 +6,7 @@ from .base import * # noqa
DEBUG = False
ALLOWED_HOSTS = ['legadoeducativo.com', '192.168.1.40']
ALLOWED_HOSTS = ['legadoeducativo.com', 'staging.legadoeducativo.com', 'www.legadoeducativo.com']
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
......@@ -14,3 +14,14 @@ EMAIL_PORT = 587
EMAIL_HOST_USER = os.environ["GMAIL_USERNAME"]
EMAIL_HOST_PASSWORD = os.environ["GMAIL_PASSWORD"]
EMAIL_USE_TLS = True
SECURE_HSTS_SECONDS = 60
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
SECURE_CONTENT_TYPE_NOSNIFF = True
SECURE_BROWSER_XSS_FILTER = True
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
CSRF_COOKIE_HTTPONLY = True
X_FRAME_OPTIONS = "DENY"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment