Enable to switch HTTP/HTTPS on routing