Fix Nginx sub-URI support.