您的位置:首页 > 运维架构 > Nginx

RHEL7下Nginx虚拟主机配置(三)

2016-06-24 14:19 561 查看
RHEL7下Nginx虚拟主机配置 前面两节讲过安装和配置文件了,这里写出配置文件,大家根据内容修改配置文件就可以了。 http { server{ listen 80; server_name 192.168.1.20; access_log log/192.168.1.20 main; location / {index index.html;root /application/nginx/html/;}} server{ linsten 80; server_name 192.168.1.30; access_log log/192.168.1.30 main; location / {index index.html;root /application/nginx/html/;}}}本文出自 “随风飘扬” 博客,请务必保留此出处http://wjb10000.blog.51cto.com/9702295/1792546
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: