by Greg Robson.
Most likely! Moodle calls urls that have a file path after a script path. e.g.
http://moodle.domain/lib/javascript.php/1515751172/lib/javascript-static.js
...after http://moodle.domain/lib/javascript.php there is a path: /1515751172/lib/javascript-static.js - Nginx is getting confused as it doesn't realise there's an argument to a script.