Ubuntu15.04nginx1.6.5 configure the VM and ubuntu15.04. Ubuntu15.04nginx1.6.5 configure the virtual host, ubuntu15.04 configure 1 add host2 in etchosts add the directory path of include virtual host configuration file in http in etcnginxnginx. conf ubuntu15.04 nginx1.6.5 configure the virtual host, ubuntu15.04 configure
1. add a host in/etc/hosts.
2. add the directory path of the include virtual host configuration file in http in/etc/nginx. conf or directly add the virtual host configuration file under the existing path.
3. add the virtual host configuration file in the path:/etc/nginx/sites-available/default server. Note that fastcgi_pass in the server is enabled for the sock line 9000. one line comment
4 restart nginx php5-fpm
Http://www.bkjia.com/PHPjc/1017049.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1017049.htmlTechArticleubuntu15.04 nginx1.6.5 configure virtual host, ubuntu15.04 configure 1 in/etc/hosts add host 2 in/etc/nginx. add the directory path of the include virtual host configuration file to http in conf...