Set proxy as rewriting rule