Replace all /geoserver/ instances with GEOSERVER_URL