Skip to content

Commit 56e4f55

Browse files
authored
Merge pull request #404 from jrafanie/content-type-options-header
Add X-Content-Type-Options header globally in VirtualHost
2 parents 967218f + 7d53042 commit 56e4f55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

COPY/etc/httpd/conf.d/manageiq-https-application.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Include conf.d/manageiq-redirects-websocket
1313
Include conf.d/manageiq-host-config
1414
RequestHeader set X_FORWARDED_PROTO 'https'
1515
Header always set Strict-Transport-Security "max-age=631138519"
16+
Header always set X-Content-Type-Options "nosniff"
1617

1718
ErrorLog /var/www/miq/vmdb/log/apache/ssl_error.log
1819
TransferLog /var/www/miq/vmdb/log/apache/ssl_access.log

0 commit comments

Comments
 (0)