mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-08 06:47:09 +02:00
NGINX with naxsi WAF support https://github.com/nbs-system/naxsi Built with the same modules as Debian + SysGuard from Tengine. Nginx patched to anonymise server strings. With the WAF & SysGuard enabled nginx-naxsi benchmarked @ approx 600 connections / second (the same as the standard Alpine nginx pkg). With the WAF disabled 640 connections / second (as the mail modules are removed as per the naxsi author's recommendation).
11 lines
326 B
Diff
11 lines
326 B
Diff
--- a/src/http/ngx_http_request.h
|
|
+++ b/src/http/ngx_http_request.h
|
|
@@ -498,6 +498,7 @@
|
|
*/
|
|
unsigned limit_conn_set:1;
|
|
unsigned limit_req_set:1;
|
|
+ unsigned sysguard_set:1;
|
|
|
|
#if 0
|
|
unsigned cacheable:1;
|