Update backup and logging documentation for Proxmox and containers. Adjust retention policies for Yandex Object Storage and enhance log rotation settings across various containers. Include detailed instructions for VPS backup processes and configurations for AmneziaVPN.
This commit is contained in:
17
docs/maintenance/logrotate/npm-nginx.conf
Normal file
17
docs/maintenance/logrotate/npm-nginx.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
# Nginx Proxy Manager (контейнер 100): логи в /opt/docker/nginx-proxy/data/logs/
|
||||
# 30 дней или ~512 MB суммарно (5 архивов × ~100 MB), сжатие
|
||||
# Размещение на CT 100: /etc/logrotate.d/npm-nginx.conf
|
||||
|
||||
/opt/docker/nginx-proxy/data/logs/*.log
|
||||
{
|
||||
daily
|
||||
maxage 30
|
||||
size 100M
|
||||
rotate 5
|
||||
compress
|
||||
delaycompress
|
||||
missingok
|
||||
notifempty
|
||||
copytruncate
|
||||
sharedscripts
|
||||
}
|
||||
Reference in New Issue
Block a user