| Server IP : _ / Your IP : 169.254.129.1 Web Server : nginx/1.28.0 System : Linux 89e302d72aa1 6.6.143.1-1.azl3 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 04:01:14 UTC 2026 x86_64 User : nginx ( 103) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /etc/ |
Upload File : |
# see "man logrotate" for details
# rotate log files daily
daily
# keep 5 days worth of backlogs
rotate 5
# create new (empty) log files after rotating old ones
create 666 nginx nginx
# use date as a suffix of the rotated file
dateext
dateformat -%Y%m%d_%H:%M:%S
# exclude alpine files
tabooext + .apk-new
# uncomment this if you want your log files compressed
compress
delaycompress
# main log file
# /var/log/messages {}
# apk packages drop log rotation information into this directory
#include /etc/logrotate.d
# system-specific logs may be also be configured here.
missingok
notifempty