link to nginx#php-fpm-headaches explaining configuration issues for Moodle