what is the best server configuration for wordpress?

I wonder the ideal server configuration (apache or nginx, varnish?) for Wordpress. Not just the minimum requirements but optimum, for a website with a minimum of 3 millon pageviews /month.
Regards,