URL per avatar ed emoticon che aggiungono :80 alla fine del dominio

This is very likely caused by something in your NGINX config then. Check out Running other websites on the same machine as Discourse for more details.