I'm trying to force all content to use HTTPS.
I added the following rule to my htaccess:
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
It works fine for web pages (wordpress). However images don't get redirected to https. Is there something special about images or other static content? Or is the rule incomplete?