jlesage / docker-nginx-proxy-manager

Docker container for Nginx Proxy Manager
MIT License
755 stars 166 forks source link

Log rotate for only one Month ? #266

Closed masterwishx closed 1 year ago

masterwishx commented 1 year ago

i have log rotate for only month with autologing from NPM, when used befor manual added for logging in one file it was unlimited i think:

NPM Proxy Logs to one file for goaccess monitoring

access_log /config/logs/proxy_logs.log proxy;

error_log /config/log/proxy_errors.log warn;

do we have limited foer one moth log rotate ?

jlesage commented 1 year ago

Yes, NPM rotates the log files. There are 4 weeks of access log and 10 weeks of error log.

masterwishx commented 1 year ago

Yes, NPM rotates the log files. There are 4 weeks of access log and 10 weeks of error log.

Thanks, got it. I think back then founded option that we can change the log rotate time if needed...