How to map multiple directories with the same Volumes?

I’ve looked up documentation on on how Volumes are used.
But I run into some problems:
I have multiple directories on Volumes, how do I do this? Example: “/home/www/www”, “/etc/nginx”, these two different directories. How to map on the same Volumes?

I’m assuming you’re talking about a single volume here. A volume may only be mounted to one path. So you might try mounting to somewhere like /data and symlinking into there. Would that work?