Drupal VM's configuration works with multiple operating systems and with multiple webservers. You can switch between Apache and Nginx (depending on which server you prefer) with ease. Apache is the webserver used out of the box.

You have complete control over all aspects of Apache VirtualHosts using the apache_vhosts configuration. A few simple examples are shown in default.config.yml, but this configuration can be much more complex.