Use correct port for www rewrite

Somehow the ssl port vanished when using www rewrite and ssl.