lnmp - centos7.2下配置文件/etc/nginx/conf.d/default.conf
server{listen80;#监听80端口server_namewww.xx.cn;#定义使用www.xx.com访问#charsetkoi8-r;#字符编码#access_log/var/log/nginx/log/host.access.logmain;#设定本虚拟主机的访问日志location/{#默认请求root/wwwdata/html;#定义服务器的默认网站根目录位置indexin