Plone site id(s) in urls: how to avoid it in production?

A site ID can be repeated in a URL, ad-nauseam, ex: http://localhost:8080/Plone/Plone/Plone/ (etc), and it'd still work. But in production, I'd prefer to avoid it completely; I don't want to work at all (I'd prefer a 404). Also, many static resources (ex: from the theme) are prepending the site ID to their urls. How to solve this issue? Is there something to adjust in the Plone instance, and/or specific URL rewriting rules (for Nginx)?

IIRC this one should do that experimental.noacquisition · PyPI
Be aware that you might experience some undesired effects.