VirtuBox / nginx-ee

Automated Nginx compilation with HTTP/3 and additional modules support. Compatible with WordOps, EasyEngine & Plesk
https://virtubox.github.io/nginx-ee/
MIT License
198 stars 58 forks source link

nginx compile with NAXSI WAF not possible #119

Closed Rar9 closed 1 year ago

Rar9 commented 2 years ago

Attach the following commands output

Describe the bug A clear and concise description of what the bug is.

nginx compile with NAXSI WAF not possible

cc1: note: ‘-gsplit-dwarf’ is not supported with LTO, disabling ../naxsi/naxsi_src/naxsi_runtime.c: In function ‘ngx_http_process_basic_rule_buffer’: ../naxsi/naxsi_src/naxsi_runtime.c:205:61: error: dereferencing pointer to incomplete type ‘ngx_regex_t’ {aka ‘struct pcre2_real_code_8’} 205 | (tmp_idx < len && (match = pcre_exec(rl->br->rx->regex->code, | ^~ objs/Makefile:1617: recipe for target 'objs/addon/naxsi_src/naxsi_runtime.o' failed make[1]: *** [objs/addon/naxsi_src/naxsi_runtime.o] Error 1 make[1]: Leaving directory '/usr/local/src/nginx'