Options -Indexes
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^project/([a-z0-9-]+)/?$ index.html?slug=$1 [L,QSA]
<FilesMatch "\.(sql|ini|log|env|example)$">
  Require all denied
</FilesMatch>
