fix reverse proxy url