mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 01:00:09 +01:00
Merge pull request #819 from drbyte/forge-matchup2-logs
Turn off logging of hits to robots.txt and favicon.ico
This commit is contained in:
@@ -25,6 +25,9 @@ server {
|
||||
rewrite ^ "VALET_SERVER_PATH" last;
|
||||
}
|
||||
|
||||
location = /favicon.ico { access_log off; log_not_found off; }
|
||||
location = /robots.txt { access_log off; log_not_found off; }
|
||||
|
||||
access_log off;
|
||||
error_log "VALET_HOME_PATH/Log/nginx-error.log";
|
||||
|
||||
@@ -60,6 +63,9 @@ server {
|
||||
rewrite ^ "VALET_SERVER_PATH" last;
|
||||
}
|
||||
|
||||
location = /favicon.ico { access_log off; log_not_found off; }
|
||||
location = /robots.txt { access_log off; log_not_found off; }
|
||||
|
||||
access_log off;
|
||||
error_log "VALET_HOME_PATH/Log/nginx-error.log";
|
||||
|
||||
|
||||
@@ -14,6 +14,9 @@ server {
|
||||
rewrite ^ "VALET_SERVER_PATH" last;
|
||||
}
|
||||
|
||||
location = /favicon.ico { access_log off; log_not_found off; }
|
||||
location = /robots.txt { access_log off; log_not_found off; }
|
||||
|
||||
access_log off;
|
||||
error_log "VALET_HOME_PATH/Log/nginx-error.log";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user