hooking up ASL to nginx

Customer support forums for Atomic Protector (formerly Atomic Secured Linux). There is no such thing as a bad question here as long as it pertains to using Atomic Protector. Newbies feel free to get help getting started or asking questions that may be obvious. Regular users are asked to be gentle. :-)
imadsani
Forum Regular
Forum Regular
Posts: 112
Joined: Mon Sep 16, 2013 10:10 am
Location: Lahore

hooking up ASL to nginx

Unread post by imadsani »

Hey,

I finally got modsecurity to work with nginx, I've loaded the rules, copied the apache modsec config file into nginx and it is working as I hoped. I now need to integrate ASL with nginx, as in manage nginx's modsec from within ASL. Even thought Im using the modsec config file from apache it the Security Events window doesn't show offences that I'm throwing at it.

Can this be done?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: hooking up ASL to nginx

Unread post by scott »

The core things are probably:

SecAuditLogType Concurrent

Only set that to Serial if you hate performance, and you do not want this to work. :P

SecAuditLog /var/log/httpd/audit_log
SecAuditLogStorageDir /var/asl/data/audit

/var/asl/data/audit will need to be writable by the web server user.
Post Reply