wargio / naxsi

NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation for Openresty via OPM

michohl opened this issue · comments

I'm looking to install this module for openresty. I was curious if this project will ever build for the openresty package manager opm.

I see the archived version of naxsi is listed in a list of opm packages here: https://github.com/bungle/awesome-resty#third-party-nginx-modules

but I can't find any installation candidates today

$ opm search naxsi
ERROR: failed to search on server: status 404: no search result found.

This would be useful to me since I'm trying to install on top of the docker-openresty "bullseye" version which uses their .deb installation instead of compiling at build time.

https://github.com/openresty/docker-openresty/blob/master/bullseye/Dockerfile

This means I don't have a hook as far as I can tell to download the tar file from the releases page and add it as a compilation flag.

If this project was built for OPM then I would be able to do something more like their example here: https://github.com/openresty/docker-openresty/blob/master/buster/Dockerfile.opm_example

i have to look into this. never heard of openresty.