adding ssl on; to redirect

Not sure if its needed... but it works on my setup.  Works either way.