nginx/nginx.logrotate
Илья Индиго 6ed1fa8c90 - Changed nginx-1.6.1-default_config.patch file (added ngx_http_fancyindex_module.so).
- Updated to 1.27.1
  * https://nginx.org/en/CHANGES
  * Fixed crash in ngx_http_mp4_module via specially crafted mp4 file (CVE-2024-7347).
  * Now the stream module handler is not mandatory.
  * Fixed new HTTP/2 connections might ignore graceful shutdown of old worker processes.

OBS-URL: https://build.opensuse.org/package/show/server:http/nginx?expand=0&rev=267
2024-08-15 21:19:38 +00:00

15 lines
328 B
Plaintext

/var/log/nginx/*.log {
compress
dateext
maxage 365
rotate 99
size=+4096k
missingok
notifempty
delaycompress
lastaction
# "-s reopen" will use the pid file passed in the config file or the compiled in default path
[ -f /run/nginx.pid ] && /usr/sbin/nginx -s reopen
endscript
}