meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:docker:log [2023/05/17 10:31] – niziak | linux:docker:log [2025/03/17 21:03] (current) – niziak | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Prevent disc space flooding with container logs: | Prevent disc space flooding with container logs: | ||
| + | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | <file txt / | ||
| + | / | ||
| + | rotate 4 | ||
| + | weekly | ||
| + | compress | ||
| + | size=100M | ||
| + | missingok | ||
| + | delaycompress | ||
| + | copytruncate | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== nginx logs ===== | ||
| + | |||
| + | <file txt / | ||
| + | / | ||
| + | weekly | ||
| + | missingok | ||
| + | rotate 4 | ||
| + | dateext | ||
| + | compress | ||
| + | delaycompress | ||
| + | notifempty | ||
| + | sharedscripts | ||
| + | postrotate | ||
| + | cd / | ||
| + | && / | ||
| + | endscript | ||
| + | } | ||
| + | |||
| + | |||
| + | </ | ||