centOS6 nginx

前端之家收集整理的这篇文章主要介绍了centOS6 nginx前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
                                            <table class="text"&gt;<tbody><tr class="li1"&gt;

<td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

Nginx   $ yum -y install Nginx   安装完成后的默认配置文件路径   默认Nginx配置文件: /etc/Nginx/Nginx.conf 【Nginx主要的配置文件】 默认Nginx的ssl配置文件: /etc/Nginx/conf.d/ssl.conf 【配置SSL证书的,也可以并入到Nginx.conf文件里】 默认Nginx的虚拟主机配置文件: /etc/Nginx/conf.d/virtual.conf 【如同Apache的虚拟主机配置,也可以并入到Nginx.conf文件里】 默认的web_root文件夹路径: /usr/share/Nginx/html 【web目录夹,放置Magento主程序】   关闭防火墙   $ service iptables stop   启动Nginx   $ service Nginx start   设置开机启动:   $ chkconfig Nginx on

猜你在找的CentOS相关文章