# Uploaded files are data, never code.
Options -Indexes -ExecCGI
<IfModule mod_php.c>
php_flag engine off
</IfModule>
<IfModule mod_php7.c>
php_flag engine off
</IfModule>
RemoveHandler .php .phtml .phar .php5 .php7 .php8 .pht .cgi .pl .py
RemoveType .php .phtml .phar
<FilesMatch "\.(php|phtml|phar|php\d|pht|cgi|pl|py|sh|html?|js|shtml)$">
Require all denied
</FilesMatch>
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
Header always set Content-Security-Policy "default-src 'none'; img-src 'self' data:; style-src 'unsafe-inline'; media-src 'self'; sandbox"
</IfModule>
