Configure multiple domain names for one site
server { listen 80; server_name ops-coffee.cn b.ops-coffee.cn; }
server_name can be followed by multiple domain names, and separate multiple domain names with spaces
The above is the detailed content of How does Nginx configure a site with multiple domain names?. For more information, please follow other related articles on the PHP Chinese website!