nginx.conf

#
worker_processes  4;
error_log  logs/error.log;
events {
    use epoll;
    worker_connections  65535;
}
worker_rlimit_nofile 102400;
http {
    include       mime.types;
    default_type  application/octet-stream;
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent $request_body "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for" '
                      '"$upstream_addr" '
                      '"ups_resp_time:$upstream_response_time" '
                      '"request_time:$request_time"';
    access_log  logs/access.log  main;

    include vhost/*.conf;
    server {
        listen       80;
        server_name  localhost;
        location / {
            root   html;
            index  index.html index.htm;
        }
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
    }
}

上一篇 利用“极验验证geetest”阻止wordpress的恶意注册和垃圾评论
下一篇 proxy.conf

探索站点内容

搜索文章、标签、分类

站点性能

运行正常
实时心跳0 ms
页面加载
0
SQL 查询
0
服务端响应
0 ms
峰值内存
0 MB