Hi , no, I was referring to the windows nginx.conf setting;
log_format compression '$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" "$gzip_ratio"';
access_log logs/access.log compression buffer=16k flush=2m;
but I'm not sure if that is correct for what I want. I want to create the access log file which works but after a day the file is 1GB, I just want it to only store the last 5 minutes or so.
log_format compression '$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" "$gzip_ratio"';
access_log logs/access.log compression buffer=16k flush=2m;
but I'm not sure if that is correct for what I want. I want to create the access log file which works but after a day the file is 1GB, I just want it to only store the last 5 minutes or so.