When using the Nginx web server, server blocks (similar to virtual hosts in Apache) can be used to encapsulate configuration details and host more than one domain on a single server.
How To Set Up Nginx Server Blocks on CentOS 7
How To Set Up Nginx Server Blocks (Virtual Hosts) on Rocky Linux 9
How To Set Up Nginx Server Blocks (Virtual Hosts) on Ubuntu 16.04
How To Set Up Nginx Server Blocks (Virtual Hosts) on Ubuntu 14.04 LTS