- Delete contextwizard_top/install/privacy_policy/tokushoho HTML files - Update index.html, llms.txt, sitemap.xml links to contextwizard.site - Remove contextwizard-files deployment from deploy-amipro.sh - Fix .htaccess infinite loop causing 500 error on robots.txt - Remove redundant 'Allow: /' from robots.txt - Clean up GEO audit report files
18 lines
678 B
ApacheConf
18 lines
678 B
ApacheConf
# === Force HTTPS ===
|
|
RewriteEngine On
|
|
RewriteCond %{HTTPS} off
|
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
|
|
|
# === Redirect www to non-www ===
|
|
RewriteCond %{HTTP_HOST} ^www\.amipro\.me$ [NC]
|
|
RewriteRule ^(.*)$ https://amipro.me/$1 [L,R=301]
|
|
|
|
# === Security Headers ===
|
|
<IfModule mod_headers.c>
|
|
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains" env=HTTPS
|
|
Header always set X-Frame-Options "DENY"
|
|
Header always set X-Content-Type-Options "nosniff"
|
|
Header always set Referrer-Policy "strict-origin-when-cross-origin"
|
|
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
|
|
</IfModule>
|