I fixed it. Removed all location and added passenger_enabled on; outside.
location
passenger_enabled on;