Author Topic: How do I disable Access.log in nginx server?  (Read 5542 times)

Savera

  • Full Member
  • ***
  • Posts: 159
How do I disable Access.log in nginx server?
« on: September 30, 2011, 08:06:09 AM »
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

  • Newbie
  • *
  • Posts: 19
Re: How do I disable Access.log in nginx server?
« Reply #1 on: October 11, 2011, 06:53:33 PM »
In your nginx.conf you need to turn off "access_log off" found under http directive

 

X

Do you know?

By participating in our community you can get free top level domain as well learn about Search Engine Optimization, Server management and more..
Join Now!
anything