$ 0 0 Enable debug error logging and nginx will tell you exactly which request matches what location and what it returns from that.