Skip to main content

Apache webserver

Make sure that the headers module is loaded: sudo a2enmod headers 

Add the following code to the apache2.conf file:

<IfModule mod_headers.c>
        Header always set X-Content-Type-Options "nosniff"
</IfModule>


No pages are currently in this chapter.