fix redirect url wrong in nginx