Options -Indexes

AddDefaultCharset utf-8

<IfModule mod_rewrite.c>
RewriteEngine On

# Do not rewrite OPTIONS preflight in subdomain/docroot setups.
RewriteCond %{REQUEST_METHOD} OPTIONS [NC]
RewriteRule ^ - [L]

# Force HTTPS for API calls.
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
