How to make nginx point different domain names to different directories of the same IP
漂亮男人
漂亮男人 2017-05-16 17:28:56
0
1
706

Several domain names share a common host and point to different project instances (different directories)? Use nginx!

漂亮男人
漂亮男人

reply all(1)
为情所困

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template