URLs para avatares y emoticonos agregando :80 al final 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.