Options -Indexes

<FilesMatch "\.(php|phtml|phar|cgi|pl|py|sh|exe|com|bat|cmd)$">
    Require all denied
</FilesMatch>

<IfModule mod_mime.c>
    AddType image/webp .webp
    AddType video/mp4 .mp4 .m4v
    AddType video/webm .webm
    AddType video/quicktime .mov
</IfModule>

<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
    Header set Cache-Control "public, max-age=86400"
    Header set Accept-Ranges "bytes"
</IfModule>
