Page 1 of 1

ART ngnix

Posted: Tue Apr 15, 2014 5:23 pm
by DarkF@der
Hello,

I have installed nginx-1.4.7-20.el6.art.x86_64 from the atomic repo.

Works perfect, but i like also to have modsecurity and when i looked at the error.log i see:

Code: Select all

2014/04/15 18:57:01 [notice] 630#0: ModSecurity for nginx (STABLE)/2.7.7 (http://www.modsecurity.org/) configured.
2014/04/15 18:57:01 [notice] 630#0: ModSecurity: APR compiled version="1.3.9"; loaded version="1.3.9"
2014/04/15 18:57:01 [notice] 630#0: ModSecurity: PCRE compiled version="7.8 "; loaded version="7.8 2008-09-05"
2014/04/15 18:57:01 [notice] 630#0: ModSecurity: LUA compiled version="Lua 5.1"
2014/04/15 18:57:01 [notice] 630#0: ModSecurity: LIBXML compiled version="2.7.6"
Where can i find de conf file?

/etc/nginx/conf.d/default.conf

Code: Select all

    location / {
        root   /usr/share/nginx/html;
        index  index.html index.htm index.php;
        try_files $uri $uri/ /index.php?$args;
        # example
        #ModSecurityEnabled on;
        #ModSecurityConfig /etc/nginx/modsecurity.conf;
    }
But etc/nginx/modsecurity.conf don't exist?

thanx in advanced

Re: ART ngnix

Posted: Tue Apr 15, 2014 8:11 pm
by scott
Easy enough explanation there, I havent written one yet :P

Re: ART ngnix

Posted: Wed Apr 16, 2014 5:35 am
by DarkF@der
Ok :lol: , so where can i find a good conf for nginx ?

Re: ART ngnix

Posted: Wed Apr 16, 2014 10:14 am
by scott
Id refer this to the WAF team

Re: ART ngnix

Posted: Wed Apr 16, 2014 3:46 pm
by DarkF@der
Great :lol: , i will wait on the reply