Skip to content

Instantly share code, notes, and snippets.

@kfl62
Created July 21, 2013 16:43
Show Gist options
  • Select an option

  • Save kfl62/6049099 to your computer and use it in GitHub Desktop.

Select an option

Save kfl62/6049099 to your computer and use it in GitHub Desktop.

Revisions

  1. kfl62 created this gist Jul 21, 2013.
    11 changes: 11 additions & 0 deletions do_not_log.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    # Designed to be included in any server {} block.
    location = /favicon.ico {
    log_not_found off;
    access_log off;
    }

    location = /robots.txt {
    allow all;
    log_not_found off;
    access_log off;
    }