I would think that containers would help obviate such concerns, since it would be rather trivial to keep even a hundred images in place for an automated compilation run.
Of course, serving the output would be harder, but still not impossible.
Of course, serving the output would be harder, but still not impossible.
We'd also need to write a script that looked at your nginx install and figured out what would be the right precompiled module to download.
For example, one Ubuntu machine with Docker can create build environments for every Linux based distro (and version thereof) that exists, and iterate through all of them when it comes time to build. The setup is not trivial, though it is easier than creating a similar environment with VMs or physical machines.