# Apache hardening for Oscar Admin
Options -Indexes

<FilesMatch "(^\.|config\.php$|config\.example\.php$|lib\.php$|lib_gotify\.php$|user-menu\.php$|gotify-users\.php$|gotify-users\.json$|audit\.log$|README\.md$|SECURITY\.md$|CONTRIBUTING\.md$|AI_DISCLOSURE\.md|LICENSE$)">
    Require all denied
</FilesMatch>

<IfModule mod_headers.c>
    Header always set X-Frame-Options "DENY"
    Header always set X-Content-Type-Options "nosniff"
    Header always set Referrer-Policy "no-referrer"
</IfModule>
