mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 13:06:30 -06:00
Set X_FRAME_OPTIONS to SAMEORIGIN (changed in Django 3.0)
This commit is contained in:
parent
ed05198c45
commit
884d648cc2
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user