<IfModule mod_dir.c>
  DirectoryIndex index.php index.html
</IfModule>

LimitRequestBody 0
AddDefaultCharset utf-8
Options -Indexes

<IfModule mod_headers.c>
  <FilesMatch "\.(css|js|png|jpg|jpeg|gif|svg|webp|ico|woff2)$">
    Header set Cache-Control "public, max-age=31536000, immutable"
  </FilesMatch>
</IfModule>

# Uncomment when not behind a reverse proxy:
#<IfModule mod_brotli.c>
#AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript application/json
#</IfModule>
#<IfModule mod_deflate.c>
#    AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/json
#</IfModule>