Options -Indexes

RewriteEngine On

# Keep ACME challenges reachable for SSL certificates.
RewriteRule ^\.well-known/ - [L]

# If hosting points to project root, internally route all requests to /public.
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ public/$1 [L]
