Hi,
Thanks in advance.
I am running nginx 7.61
I went through all the config files and delete all the access log
entries. Yet every time i restart nginx it creates a new
/usr/local/nginx/logs/access.log file.
Any idea how to fix this?
Thanks,
Posted at Nginx Forum:
vburshteyn wrote:
Hi,
Thanks in advance.
I am running nginx 7.61
I went through all the config files and delete all the access log entries. Yet every time i restart nginx it creates a new /usr/local/nginx/logs/access.log file.
Any idea how to fix this?
http://wiki.nginx.org/NginxHttpLogModule
Jim, This is my whole config file.
any other tips?
user www-data;
worker_processes 5;
#error_log logs/error.log;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 999;
gzip on;
gzip_comp_level 5;
gzip_http_version 1.1;
gzip_min_length 0;
gzip_types text/plain image/png image/jpeg image/jpg
image/gif text/css application/x-javascript text/xml application/xml
application/xml+rss$
gzip_vary off;
gzip_disable “MSIE [1-6].(?!.*SV1)”;
#include /etc/nginx/conf.d/.conf;
include /etc/nginx/sites-enabled/;
}
Posted at Nginx Forum:
Hello!
On Fri, Nov 20, 2009 at 11:19:17PM -0500, vburshteyn wrote:
Hi,
Thanks in advance.
I am running nginx 7.61
I went through all the config files and delete all the access log entries. Yet every time i restart nginx it creates a new /usr/local/nginx/logs/access.log file.
Any idea how to fix this?
access_log off;
http://wiki.nginx.org/NginxHttpLogModule#access_log
Maxim D.