Makes proxy rewrite url