Prototype implementation
This commit is contained in:
parent
315143a6fc
commit
14b0bc6d01
160 changed files with 5731 additions and 42 deletions
15
vergabe_teilnahme/settings/prod.py
Normal file
15
vergabe_teilnahme/settings/prod.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
from decouple import config
|
||||
|
||||
from .base import * # noqa: F401, F403
|
||||
|
||||
DEBUG = False
|
||||
ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='').split(',')
|
||||
|
||||
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
|
||||
|
||||
SECURE_BROWSER_XSS_FILTER = True
|
||||
SECURE_CONTENT_TYPE_NOSNIFF = True
|
||||
SECURE_HSTS_SECONDS = 31536000
|
||||
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
Loading…
Add table
Add a link
Reference in a new issue