Skip to content

Releases: coder-free/nginx-with-log-split

nginx-log-split

19 Mar 05:08
Compare
Choose a tag to compare

Nginx with log split based on v1.5.9 released.

You can config the log like this:

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /home/www/nginx/logs/$year_udf/$month_udf/$day_udf/$date_udf-access.log main;