# Skietec — add this block to your .htaccess (create the file at the site
# root if none exists yet). If you already have an .htaccess, paste this
# in rather than replacing the whole file.

<IfModule mod_rewrite.c>
RewriteEngine On
# Force the non-www host as canonical (matches the canonical tag in index.php)
RewriteCond %{HTTP_HOST} ^www\.skietec\.org$ [NC]
RewriteRule ^(.*)$ https://skietec.org/$1 [L,R=301]
</IfModule>

<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "DENY"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
Header always set Permissions-Policy "geolocation=(), microphone=(), camera=()"
</IfModule>
