Multisite

Setup drupal 8 multisite on nginx with different domain

How to setup Drupal 8 multisite on an Nginx web server using different domains? In this example, we are going to use three different domains for our Drupal-8 multi-site ex: drupal-main.com, drupal-first.com, and drupal-second.com. Here, drupal-main.com will be the main site pointing to our Drupal-8 installation, while two others will be pointing to the directories site1 and site2 respectively.

The directory structure will be as follows:

0/5