mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 15:01:10 +08:00
Do not log favicon.ico requests
This commit is contained in:
@ -83,6 +83,8 @@ server {
|
|||||||
# bypass rails stack with a cheap 204 for favicon.ico requests
|
# bypass rails stack with a cheap 204 for favicon.ico requests
|
||||||
location /favicon.ico {
|
location /favicon.ico {
|
||||||
return 204;
|
return 204;
|
||||||
|
access_log off;
|
||||||
|
log_not_found off;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
Reference in New Issue
Block a user