11 2013 档案

摘要:1、在 /etc/nginx 下创建 vhosts 目录mkdir /etc/nginx/vhosts2、在 /etc/nginx/vhosts/ 里创建一个名字为 example1.com.conf 的文件,把以下内容拷进去 server {listen 80;server_name example1.com www. example1.com;access_log /www/access_ example1.log main;location / {root /www/example1.com;index index.php index.html index.htm;}error_page 阅读全文
posted @ 2013-11-18 18:37 编程思想家 阅读(418) 评论(2) 推荐(0)