vhost 下我的配置文件
server
{
listen 80;
#listen [::]:80;
server_name c.ibs-bj.com ;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/c.ibs-bj.com;
include other.conf;
#error_page 404 /404.html;
# Deny access to PHP files in specific directory
#location ~ /(wp-content|uploads|wp-includes|images)/.*\.php$ { deny all; }
include enable-php.conf;
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
location ~ /.well-known {
allow all;
}
location ~ /\.
{
deny all;
}
access_log /home/wwwlogs/c.ibs-bj.com.log;
}
HUWWW
MYYA
呼啦一阵风
随时随地看视频慕课网APP