版权声明:http://zhuijuwu.com 追剧屋 - 影视资源汇总搜索站点 https://blog.csdn.net/u013372487/article/details/79602025
server
{
listen 80;
#listen [::]:80;
server_name dot.test.com;
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
location ~^/dot/
{
default_type text/html;
access_log /alidata/log/nginx/dot.test.com.log;
return 200 'su';
}
location /
{
default_type text/html;
access_log off;
return 404 'fail';
}
access_log off;
error_log /dev/null crit;
}