[GH-ISSUE #417] filling the log with /favicon.{ico,png} 404 #307

Closed
opened 2026-02-26 10:30:43 +03:00 by kerem · 5 comments
Owner

Originally created by @ThomasWaldmann on GitHub (Apr 9, 2019).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/417

seeing multiple log entries from same IP at same time requesting these resulting in a 404.

check if we link to that URL somewhere or if it is implicit like old browsers did.

handle the URL, so no 404 is logged.

Originally created by @ThomasWaldmann on GitHub (Apr 9, 2019). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/417 seeing multiple log entries from same IP at same time requesting these resulting in a 404. check if we link to that URL somewhere or if it is implicit like old browsers did. handle the URL, so no 404 is logged.
kerem closed this issue 2026-02-26 10:30:44 +03:00
Author
Owner

@elnappo commented on GitHub (Apr 9, 2019):

Browsers are requesting these files per default, with our new logo we should add a favicon :)

<!-- gh-comment-id:481245523 --> @elnappo commented on GitHub (Apr 9, 2019): Browsers are requesting these files per default, with our new logo we should add a favicon :)
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 9, 2019):

don't we have some head tag that points this to a specific location in the static files?

<!-- gh-comment-id:481297057 --> @ThomasWaldmann commented on GitHub (Apr 9, 2019): don't we have some head tag that points this to a specific location in the static files?
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 9, 2019):

we do:

        <link rel="icon" type="image/png" href="/static/favicon.png" />
<!-- gh-comment-id:481367633 --> @ThomasWaldmann commented on GitHub (Apr 9, 2019): we do: ``` <link rel="icon" type="image/png" href="/static/favicon.png" /> ```
Author
Owner

@elnappo commented on GitHub (Apr 10, 2019):

It seems like not all browsers are respecting this property. I also see /favicon.ico requests in logfiles while providing a link to /favicon.svg. I guess adding a /favicon.ico should "fix" this problem.

<!-- gh-comment-id:481737515 --> @elnappo commented on GitHub (Apr 10, 2019): It seems like not all browsers are respecting this property. I also see `/favicon.ico` requests in logfiles while providing a link to `/favicon.svg`. I guess adding a `/favicon.ico` should "fix" this problem.
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 15, 2019):

did an alias on nginx level, so the requests don't get through to the wsgi app.

<!-- gh-comment-id:483420658 --> @ThomasWaldmann commented on GitHub (Apr 15, 2019): did an alias on nginx level, so the requests don't get through to the wsgi app.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#307
No description provided.