1
0
mirror of https://github.com/robertvokac/robertvokac.com.git synced 2025-03-31 11:14:10 +02:00
2024-03-31 13:16:57 +02:00

7 lines
268 B
ApacheConf

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTP_USER_AGENT} !(BlackBerry)
RewriteCond %{HTTP_USER_AGENT} !(Windows\sNT\s5\.[12])
RewriteCond %{HTTP_HOST} ^(www\.)?robertvokac.com
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]