mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 05:04:46 +02:00
docker: enable SECURE_BROWSER_XSS_FILTER
This is a rudimentary extra protection against XSS, we might as well enable it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
df189e3455
commit
c38d1c37a1
|
@ -290,3 +290,5 @@ TOOLS_LOG_DIR = ""
|
|||
USE_X_FORWARDED_HOST = True
|
||||
ALLOWED_HOSTS = [os.getenv('HOSTNAME', 'layers.test')]
|
||||
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
|
||||
SECURE_BROWSER_XSS_FILTER = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user