# Keep this file when cPanel inserts its own Passenger settings below.
Options -Indexes -MultiViews
RewriteEngine On
RewriteRule ^(?:new_refs|chroma_data|tests|__pycache__)(?:/|$) - [F,L,NC]
RewriteRule (^|/)\. - [F,L]
<FilesMatch "(?i)\.(py|pyc|json|txt|log|lock|toml|ini|env|sqlite|sqlite3|db|bak|zip)(-.*)?$">
  Require all denied
</FilesMatch>
# Do not add a catch-all rewrite to index.html: Passenger must receive API routes.
