`%{HTTS}` should be `%{HTTPS}`