/home/user/skynet-webportal/docker/data/nginx/logs/*.log { daily rotate 3650 minsize 5M create 644 root root notifempty dateext missingok compress compressoptions --best delaycompress sharedscripts postrotate docker exec nginx nginx -s reopen endscript }