Several domain names share a common host and point to different project instances (different directories)? Use nginx!
为情所困2017-05-16 17:30:56
Add virtual machine configuration in nginx/conf/vhosts/ and set different root directories and host names. Then include the virtual host configuration file you created in nginx/conf/nginx.conf.
Then restart nginx.