Skip to content

Instantly share code, notes, and snippets.

@kfl62
Created July 21, 2013 16:43
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save kfl62/6049099 to your computer and use it in GitHub Desktop.
Save kfl62/6049099 to your computer and use it in GitHub Desktop.
nginx configuration file, (do not log robots.txt and favicon.ico requests)
# 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;
}
@saRahaLi0
Copy link

#URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment