Add dependency on nginx before configuring virtual host.