Nginx添加二级域名指向特定目录
匿名 · 更新于 2014/4/16
server
{
listen 80;
server_name bbs.xinge168.com;
index index.shtml index.html index.htm index.php;
root /www/xinge168/bbs;
location ~.*\.(php|php5)?$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
access_log off;
}
