Fix allowing to use server not on root url