Reroute API around varnish