久久调教,免费看黄色影片,www五月,国产精品免费一区二区区,亚洲欧美日韩综合一区,亚洲欧美日韩精品在线,2021免费日韩视频网

龍巖易富通網(wǎng)絡(luò)科技有限公司

龍巖小程序開(kāi)發(fā),龍巖分銷(xiāo)系統(tǒng)

nginx下不帶www跳轉(zhuǎn)到帶www

2015.09.10 | 1415閱讀 | 0條評(píng)論 | 通用代碼

server
{
listen 80;
server_name www.shenkeapp.com 0597seo.com;
index index.php index.html index.htm;
root /home/wwwroot/0597seo.com;
include /home/wwwroot/0597seo.com/.htaccess;

if ($host != 'www.shenkeapp.com') {
rewrite ^/(.*)$ http://www.shenkeapp.com/$1 permanent;
}

location ~ .*\.(php|php5)?$
{
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PHP_VALUE "open_basedir=/home/wwwroot/0597seo.com/:/tmp/:/proc/";
include fastcgi.conf;
}

location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}

location ~ .*\.(js|css)?$
{
expires 12h;
}

location ~ /\.ht {
deny all;
}

}


贊 (

發(fā)表評(píng)論