/usr/share/nginx/modules is in nginx-common 1.10.3-1+deb9u2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/nginx/../../lib/nginx/modules
/usr/share/nginx/../../lib/nginx/modules