Author Topic: How do I disable Access.log in nginx server?  (Read 17022 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?

Just make posts in this community and win .com / .org / .net domain name free.
Know more..
Join Now!
anything