Webhosting Forums > Dedicated Server Administration

How do I disable Access.log in nginx server?

(1/1)

Savera:
I think running access.log in nginx is useless as I have now two log files , one from apache and one from nginx. So how do I disable nginx access log ?

PHPize:
In your nginx.conf you need to turn off "access_log off" found under http directive

Navigation

[0] Message Index

Go to full version