アバターと絵文字のURLにドメインの末尾に:80を追加

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.