Awstat error 404 - ISPConfig 3.1p, Debian 9.1, Nginx

I cannot access the stats page for any website.

I always get the 404 error

error 404

the logs show

xxx.xxx.xxx.xxx - admin [12/Oct/2017:19:58:38 -0400] "GET /stats/awsindex.html HTTP/1.1" 404 868 "https://example.com/stats/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"

The stats configuration are as follow

ISPConfig web stats config

permission for the files are

-rwxr-xr-x 1 root root 685238 Dec 12 2016 /usr/lib/cgi-bin/awstats.pl

-rwxr-xr-x 1 root root 19807 Dec 12 2016 /usr/share/awstats/tools/awstats_buildstaticpages.pl

The password as been set, but in the web/stats folder, there is only a htpasswd_stats and an index.php file. That doesn't seem right!

Any help would be appreciated