|
发表于 2008-5-12 18:15:12
|
显示全部楼层
server {
listen 8080;
server_name **.cn;
root /home/wwwroot__old/;
access_log logs/admin-access-log main;
location / {
index index.php index.html;
rewrite ^/(.+)$ /index.php last;
}
location ~ .*\.php$ {
include conf/fastcgi.conf;
fastcgi_pass unix:/tmp/php-fastcgi.sock;
fastcgi_param SCRIPT_FILENAME /home/wwwroot__old/$fastcgi_script_name;
}
} |
评分
-
查看全部评分
|