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"
/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;
}
thanx in advanced