Fix https routing