We have a URL (from a Magento 1 install) which is being wrongly handled by Nginx like this:
https://domain.com/js/index.php/x.js?f=prototype/prototype.js,prototype/validation.js,mage/adminhtml/events.js,mage/adminhtml/form.js,scriptaculous/effects.js
Instead this URL should be handled by...