阿里云下把伪静态规则加入哪儿?
例:
server {
listen 80;
server_name www.xxx.com xxx.com;
index index.html index.htm index.php;
root /alidata/www/zhuang;
location ~ .*\.(php|php5)?$
{
#fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 1h;
}
#伪静态规则
include /alidata/server/nginx/conf/rewrite/default.conf;
access_log /alidata/log/nginx/access/zhuang.log;
}
这样的要把规则放在哪儿才对?