nginx modsecurity on Debian 8

Thierry lenaigst at maelenn.org
Wed Dec 23 15:09:26 UTC 2015


Hi Nikolai,

Seems for me to be a bit tricky.
Not  going  to do something because I do not want to break something 
who is already working perfectly.... 
Why is it so complicated to install a module for nginx ?

Thx anyway and happy christmas.

Le mercredi 23 décembre 2015 à 15:03:10, vous écriviez :

> Greetings,

> On Wed, 2015-12-23 at 14:21 +0200, Thierry wrote:
>> A bit lost ...
>> I know nothing concerning nginx, I am more confortable with Apache2.
>> I am using an email server who is using nginx on debian 8.
>> I would need to install modsecurity as module.
>> I have understood that I need to compile from the working directory
>> of 
>> nginx ....

> FWIW I am in a similar boat. Apache has been my weapon of choice for a
> long time, I have inherited a system where they prefer nginx. We are a
> Debian shop, using Jessie (8) on production systems. I use the packages
> from the nginx repositories rather than the Debian builds. 

> deb http://nginx.org/packages/mainline/debian/ jessie nginx

> # nginx -V
> nginx version: nginx/1.9.7
> built by gcc 4.9.2 (Debian 4.9.2-10) 
> built with OpenSSL 1.0.1k 8 Jan 2015
> TLS SNI support enabled
> configure arguments: --prefix=/etc/nginx
> --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf
> --error-log-path=/var/log/nginx/error.log
> --http-log-path=/var/log/nginx/access.log
> --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock
> --http-client-body-temp-path=/var/cache/nginx/client_temp
> --http-proxy-temp-path=/var/cache/nginx/proxy_temp
> --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp
> --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp
> --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx
> --group=nginx --with-http_ssl_module --with-http_realip_module
> --with-http_addition_module --with-http_sub_module
> --with-http_dav_module --with-http_flv_module --with-http_mp4_module
> --with-http_gunzip_module --with-http_gzip_static_module
> --with-http_random_index_module --with-http_secure_link_module
> --with-http_stub_status_module --with-http_auth_request_module
> --with-threads --with-stream --with-stream_ssl_module --with-mail
> --with-mail_ssl_module --with-file-aio --with-http_v2_module
> --with-cc-opt='-g -O2 -fstack-protector-strong -Wformat
> -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2'
> --with-ld-opt='-Wl,-z,relro -Wl,--as-needed' --with-ipv6


> If that is of any help :)




-- 
Cordialement,
 Thierry                            e-mail : lenaigst at maelenn.org



More information about the nginx mailing list