Options -Indexes
DirectoryIndex index.php
# Pass the Kobo's Authorization header through to PHP (needed on some PHP-FPM setups)
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
<FilesMatch "^(lib\.php|auth\.php|phone\.php|.*\.sqlite|.*\.json|.*\.tmp|.*\.txt)$">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Deny from all
  </IfModule>
</FilesMatch>
<Files "manifest.webmanifest">
  <IfModule mod_authz_core.c>
    Require all granted
  </IfModule>
</Files>
<IfModule mod_headers.c>
  Header always set Strict-Transport-Security "max-age=31536000"
</IfModule>
