unixhot / waf

使用Nginx+Lua实现的WAF(版本v1.0)
Apache License 2.0
1.39k stars 504 forks source link

用的 nginx/1.20.1,不产生日志 #42

Open QooGeek opened 2 years ago

QooGeek commented 2 years ago

[root@localhost nginx]# nginx -V

nginx version: nginx/1.20.1
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 
built with OpenSSL 1.1.1k  25 Mar 2021
TLS SNI support enabled
configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_sub_module --with-stream --with-stream_ssl_module --with-openssl=/root/lnmp1.8/src/openssl-1.1.1k --with-openssl-opt='enable-weak-ssl-ciphers' --with-ld-opt=-Wl,-rpath,/usr/local/luajit/lib --add-module=/root/src/lua-nginx-module-0.10.14 --add-module=/root/src/ngx_devel_kit-0.3.1 --with-ld-opt='-ljemalloc'

image

image image

synodriver commented 1 year ago

配置文件开头加一句user root;

Forget-404 commented 5 months ago

大哥,能发给log文件给我看看吗