mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: stop sending a blank /favicon.ico
instead have nginx ship a 404 for it.
This commit is contained in:
parent
aeccc030d6
commit
81bdd2328d
2 changed files with 7 additions and 0 deletions
|
@ -80,6 +80,13 @@ server {
|
|||
internal;
|
||||
}
|
||||
|
||||
# return a cheap 404 for favicon cause lots of browsers like asking for it
|
||||
# view source and old browsers, this bypasses the rails stack at the expense of
|
||||
# having an ugly 404 page
|
||||
location /favicon.ico {
|
||||
return 404;
|
||||
}
|
||||
|
||||
location / {
|
||||
root $public;
|
||||
add_header ETag "";
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 198 B |
Loading…
Reference in a new issue