don't append nginx port to redirect url