wargio / naxsi

NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX
GNU General Public License v3.0
299 stars 38 forks source link

Missing documentation on how to build naxsi for alpine linux #158

Open Tox46 opened 2 months ago

Tox46 commented 2 months ago

I'm trying to install naxsi on my alpine/nginx docker image and it's not clear which steps should i follow: installing documentation only mentions building Ubuntu/Debian and compiling from source, even if inside your release page you have packages for Ubuntu, Debian and Alpine other than the source code.

Maybe it's obvious for most people, but if it's not for me, chances are there’s someone out there just like me.

viiftw commented 2 months ago

You can try following script here: https://github.com/wargio/naxsi/tree/main/distros/alpine

wargio commented 2 months ago

For alpine is a bit complicated because you need to find the correct hash for nginx in their git repository. it's actually easier to build nginx + modules from sources.

it would be nice to just have naxsi in alpine directly.

Tox46 commented 2 months ago

it would be nice to just have naxsi in alpine directly.

I'm sorry but i don't quite understand what i can do for you.

wargio commented 2 months ago

Unless you are an alpine maintainer, nothing. Anyway check the link from @viiftw