# Servidor de licenças ArchFlow
Options -Indexes

# Sempre HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Bloqueia arquivos internos (_*.php) e ocultos
<FilesMatch "^(_.*\.php|\..*)$">
  Require all denied
</FilesMatch>

<IfModule mod_headers.c>
  Header always set Strict-Transport-Security "max-age=31536000"
</IfModule>
