Webmail: No input file specified

Hello,

All my webmail subdomains are returning the text “No input file specified.” and it returns a 404 error
What logs I need to check to solve this problem?

/var/log/nginx/webmail.domain.com.log /error log

/var/log/roundcube

After more than 6 hours trying to figure out what happened:
The problem was a php configuration, the parameter open_basedir must be empty for roundcube. if you need to change it, just edit the /etc/php/X.X/fpm/pool.d/domain.conf or the template associated to that domain.