added some security headers to the settings
This commit is contained in:
parent
04dd2d63cc
commit
8fbc519b18
|
@ -98,6 +98,12 @@ if not DEBUG:
|
||||||
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
|
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
|
||||||
|
|
||||||
|
|
||||||
|
# Security Headers
|
||||||
|
|
||||||
|
SECURE_BROWSER_XSS_FILTER = True
|
||||||
|
SECURE_CONTENT_TYPE_NOSNIFF = True
|
||||||
|
X_FRAME_OPTIONS = "DENY"
|
||||||
|
|
||||||
# Django Channels
|
# Django Channels
|
||||||
|
|
||||||
ASGI_APPLICATION = "webhook_logger.routing.application"
|
ASGI_APPLICATION = "webhook_logger.routing.application"
|
||||||
|
|
Loading…
Reference in New Issue