哪块不懂呀?
server
{
listen 80;
server_name *.域名;
index index.html index.php;
root/home/wwwroot/www.域名/company;
error_page 404 = /404.php;
location ~ .*\.(php|php5)?$
{
fastcgi_passunix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}
}
试试
页:
1
[2]