We had similar discussions on this type of issue downstream in Ubuntu [1] and after extensive discussions it was suggested that if someone wants to use network-online.target for this they do an override in their SystemD.
Given that network-online.target is not well defined, it was determined by the Ubuntu Server Team that it made more sense to leave it alone and let people 'customize' their configuration that way independently.
Also, keep in mind NGINX Pitfalls such as those that *rely* on
DNS - you cannot guarantee that DNS is going to be reliable or
work at boot time or auto startup unless you schedule the startup
until long after networking would be configured and online. [2]
While I do not have direct access to control the status quo on things for NGINX in Debian, the justification was based on this quote from the definition of network targets [3]:
network-online.target is a target that actively waits until the network is "up", where the definition of "up" is defined by the network management software. ... **It is strongly recommended not to pull in this target too liberally: for example network server software should generally not pull this in (since server software generally is happy to accept local connections even before any routable network interface is up), its primary purpose is network client software that cannot operate without network.**
(emphasis with asterisks or bold is mine)
Given that freedesktop definitions for SystemD here say "network server software should generally not pull this in" and NGINX is no different (see pitfalls [2] as I said), I think the 'network.target' vs. 'network-online.target' argument should remain as "If you want to verify it works with DNS then alter your SystemD on a per system level, rather than having the entire packaging system for NGINX to be rewritten for these cases given the SystemD guidance."
Thomas
[1]: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1666368
[3]:
https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/