Ubuntu15.04 nginx1.6.5 configure virtual host, ubuntu15.04 configuration_PHP tutorial

WBOY
Release: 2016-07-13 09:50:46
Original
1092 people have browsed it

ubuntu15.04 nginx1.6.5 configure virtual host, ubuntu15.04 configuration

1 Add host in /etc/hosts

2 Add the include directory path of the virtual host configuration file to http in /etc/nginx/nginx.conf or add the virtual host configuration file directly to the existing path

3 Add the virtual host configuration file to the path. The content of the file is the server in /etc/nginx/sites-available/default. Note that the fastcgi_pass item in the server enables the sock line. Comment on the 9000 line

4 Restart nginx php5-fpm

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1017049.htmlTechArticleubuntu15.04 nginx1.6.5 configure virtual host, ubuntu15.04 configuration 1 in /etc/hosts add host 2 in Add the include directory path of the virtual host configuration file to http in /etc/nginx/nginx.conf...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!