Added rewrite rules to force https connection.