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

IfAndBut.com gives you a platform where you can ask questions related to web and internet..
So, why wait..
Join Now!
anything

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.
Back