File: //etc/bitninja/WAFManager/config.ini
[nginx]
;binaryLocation = '/opt/bitninja-waf/sbin/nginx'
;configLocation = '/opt/bitninja-waf/etc/nginx.conf'
;workingDirectory = '/opt/bitninja-waf/etc/'
;pidFileLocation = '/var/run/bitninja-waf.pid'
;pidfile = '/var/run/bitninja-waf.pid'
;group = 'bitninja-waf'
;user = 'bitninja-waf'
;configPermission = '0644'
;sciptPermission = '0644'
;updateConfigOnStart = 1
;Nginx body files older than this value will be automatically deleted every hour.
;This value is in seconds (86400 = 1 day)
;deleteInterval = 86400
; HAPRoxy loadbalancer infront of Nginx ModSecurity reverse proxy. Default setting
;httpFrontendPort = 60415
;
; Enable WAF on Interfaces only.
; The default redirection option is for public ips only.
;
;proxy_read_timeout = 300
; Default value 0, it does not change worker connections
;worker_connections = 1024
[redirect_options]
;redirection_mode = 'dnat'
;redirection_mode = 'tproxy'
;redirection_mode = 'transparent'
;interface[]='eth0'
;interface[]='eth1'
;ipv6_interface[]='eth0'
;ipv6_interface[]='eth1'
[honeypots]
;generate_honeypots_on_start=0
[actionmanager]
;log_dir = '/var/log/bitninja/WAFManager'
;auditlog_dir = '/var/log/bitninja-waf'
;modsecurity_log_delete = 1
;default_actions[]='LogToFile'
;default_actions[]='SendToShogun'
;default_actions[]='Auditlog'
; Rule specific changes
; To instantly blacklist IP caught by user defined honeypot uri-s
;secrule[10] = 'BlackList'
;secrule[1111] = 'LogToFile,SendToShogun'
;secrule[1112] = 'disableSendToFile'
;enable_action_LogToFile[]=111111
;enable_action_SendToShogun[]=111112
;disable_action_LogToFile[]=111113
;disable_action_SendToShogun[]=111114