Coverage for config\settings\production.py: 0%
8 statements
« prev ^ index » next coverage.py v7.16.0, created at 2026-09-05 09:19 +0800
« prev ^ index » next coverage.py v7.16.0, created at 2026-09-05 09:19 +0800
1from .base import *
3DEBUG = False
5# Production security headers
6SECURE_BROWSER_XSS_FILTER = True
7SECURE_CONTENT_TYPE_NOSNIFF = True
8X_FRAME_OPTIONS = 'DENY'
9SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
10SESSION_COOKIE_SECURE = True
11CSRF_COOKIE_SECURE = True