Tag: force https
-
proxying websockets via nginx and https
-
Forcing website to https and www using htaccess on apache servers
To first force HTTPS, you must check the correct environment variable %{HTTPS} off, but your rule above then prepends the www. Since you have a second rule to enforce www., don’t use it in the first rule.