by
3 8
0
4
1,181
8
Top 1% !
Popular
Famous
Specified
Popularity: 26188th place

Published on:

No tags for this snippet yet.
LanguageNGinx
SourceGitHub

nginx configuration file, (do not log robots.txt and favicon.ico requests)

nginx configuration file, (do not log robots.txt and favicon.ico requests): 
do_not_log.conf
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/1204424/nginx-configuration-file--(do-not-log-ro?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
# 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; }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus