You’re supposed to create /etc/nginx/conf.d/discourse.conf on the host.
/etc/nginx/conf.d/discourse.conf