enabled pproxy middleware