Simply do not have an autoindex on; directive anywhere.
It allows you to test the exact process isolation logic that PHPUnit uses without running a full test suite. Nginx: Simply do not have an autoindex on;