set redirect for SSL