Different thing with awstats and webalizer, awstats using perl and not work in nginx. And if using nginx-proxy, awstat handling by apache. Otherwise, webalizer using html (static file) and make simple for nginx for handling it. So, webalizer handling by nginx directly (for nginx and nginx-proxy).
It's maybe something wrong with dirprotect in nginx/nginx-proxy.