fixing reverse proxy url