为什么要配置默认的虚拟主机:http://www.cnblogs.com/pzk7788/p/7039496.html
[[email protected] ~]# vim /usr/local/nginx/conf/vhosts/default.conf server { listen 80 default_server; server_name localhost; index index.html index.htm index.php; root /tmp/1233; deny all; }
[[email protected]ost ~]# mkdir /tmp/1233
时间: 2024-10-12 04:09:25