Require all granted
Options -Indexes
DirectoryIndex index.php
RewriteEngine On
RewriteRule ^(?:shell\.html|app\.js)$ - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
<FilesMatch "^\.">
 Require all denied
</FilesMatch>
<IfModule mod_headers.c>
 <FilesMatch "\.(?:pdf)$">
  Header set Cache-Control "private, no-store"
 </FilesMatch>
 <Files "sw.js">
  Header set Cache-Control "no-cache"
 </Files>
</IfModule>
