Ensure $_SERVER['REQUEST_URI'] is correct when proxying via nginx