Add rewrite option to ssl header as well