A server block in Nginx is equivalent to a virtual host in Apache. It allows you to host more than one website on a single machine.