Instead of having a separate variable, you should use the forceSSL variable here