Set X_FRAME_OPTIONS to SAMEORIGIN (changed in Django 3.0)

This commit is contained in:
Jeremy Stretch 2020-04-09 15:31:18 -04:00
parent ed05198c45
commit 884d648cc2

View File

@ -345,6 +345,7 @@ USE_TZ = True
WSGI_APPLICATION = 'netbox.wsgi.application'
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
USE_X_FORWARDED_HOST = True
X_FRAME_OPTIONS = 'SAMEORIGIN'
# Static files (CSS, JavaScript, Images)
STATIC_ROOT = BASE_DIR + '/static'