mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-06 17:33:33 +00:00
Modsecurity is working!
This commit is contained in:
15
docker/rootfs/etc/logrotate.d/modsecurity
Normal file
15
docker/rootfs/etc/logrotate.d/modsecurity
Normal file
@@ -0,0 +1,15 @@
|
||||
/data/logs/modsec_audit.log {
|
||||
create 0644 root root
|
||||
daily
|
||||
rotate 14
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
maxsize 500M
|
||||
minsize 500M
|
||||
sharedscripts
|
||||
postrotate
|
||||
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
|
||||
endscript
|
||||
}
|
||||
|
Reference in New Issue
Block a user