mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-11 00:07:08 +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).
10 lines
217 B
Bash
10 lines
217 B
Bash
#!/bin/sh
|
|
|
|
addgroup -g 82 -S www-data 2>/dev/null
|
|
addgroup -S nginx 2>/dev/null
|
|
adduser -S -G nginx -H -h /var/www/localhost/htdocs -s /sbin/nologin \
|
|
-D nginx 2>/dev/null
|
|
addgroup nginx www-data 2>/dev/null
|
|
|
|
exit 0
|