mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 13:14:46 +02:00
docker: disable client MIME type sniffing
We should be being explicit about the MIME type rather than allowing the browser to guess. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
36427bdf9d
commit
02e116b698
|
@ -298,4 +298,5 @@ 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
|
||||
SECURE_CONTENT_TYPE_NOSNIFF = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user