• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Compress nginx logs

Status
Not open for further replies.

Sopock

Joined
Jul 11, 2012
Messages
404
Reaction score
16
Hi!
You may notice growing access log file. Regularly compressed file would take 100X less space. There is nginx command for opening new log files?
 
Well we don't have log rotation for nginx and in SP2 we just disabled them.
You can do it for yourself by adding these lines to both server{} sections in your nginx.conf (usually C:\Program Files\3CX Phone System\Bin\nginx\conf) and then restart nginx.

access_log off;
error_log off;
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.