Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: log/list IP Address accessing folder

$
0
0
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.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>