-2

Can I store a specific query in access_log file by filtering with an expression? For example I want to deny storing queries related to www.mydomaine.com and then reject it ?

Best regards,

Nizar.

N.Khalifa
  • 11
  • 1

1 Answers1

1

You can set access_log off; inside a location. It will override the access_log setting at a higher level, and stop logging for any requests that match that location.

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972