# Mingleo app API

Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_HOST} !^(localhost|127\.0\.0\.1)(:[0-9]+)?$
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>

# Never serve credentials, code or data.
<FilesMatch "^(core_path\.php|bootstrap\.php|migrate\.php|\.env.*|.*\.(md|sql|log|lock|txt|zip|bak|sh|example|DS_Store))$">
    Require all denied
</FilesMatch>
<FilesMatch "^\._">
    Require all denied
</FilesMatch>
RedirectMatch 404 ^/?(.*/)?(lib|migrations|storage|tools)(/|$)

<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
    Header always set Referrer-Policy "no-referrer"
    Header always set X-Frame-Options "DENY"
</IfModule>

<IfModule mod_php.c>
    php_value upload_max_filesize 8M
    php_value post_max_size 34M
</IfModule>
