server
{
    listen 80;
    listen [::]:80;
    server_name i.fe80.cn;
    index index.html index.htm index.php default.html default.htm default.php;
    root /home/www/market/public;
    if ($http_user_agent ~* (Scrapy|Curl|HttpClient|Hacker|Creaker|MSIE|Edge|Trident)) {
        rewrite  ^(.*)$  /deny  last;
    }
    include rewrite/thinkphp.conf;
    error_page   404   /404.html;
    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/i.fe80.cn.log;
}