sodew-bash

This commit is contained in:
2026-08-18 09:40:08 +02:00
parent 0e8edcd5c0
commit af7110ad3a
118 changed files with 20434 additions and 0 deletions
@@ -0,0 +1,11 @@
RewriteEngine On
# www -> non-www + https
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
# http -> https
RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
RewriteCond %{HTTP:Forwarded} !proto=https [NC]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]