Log files
Wildcards are fine — e.g. /var/log/nginx/*.log. Paths containing spaces will be quoted automatically.
Rotation schedule
Number of rotated archives kept
Rotate once this size is exceeded
Initial rotation index
Compression
File handling
Naming & archives
Move archives into this directory
Keep this suffix on rotated files
Extensions logrotate should ignore
Scripts
Extra directives
Anything not covered above — one directive per line.