Skip to content

Commit

Permalink
Fixed favicon.ico bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner authored Jul 11, 2022
1 parent 0b83b15 commit 2b74d0b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions config/nginx/defaults.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# configuration file /etc/nginx/defaults.conf:

location = /favicon.ico {
expires 1y;
try_files /favicon.ico @empty;
allow all;
log_not_found off;
access_log off;
}
Expand All @@ -25,11 +24,6 @@ location = /ads.txt {
access_log off;
}

location @empty {
expires 1y;
empty_gif;
}

location ~* \.flv$ {
flv;
}
Expand All @@ -55,4 +49,4 @@ location ~ /\. {

location ~ /Makefile {
deny all;
}
}

0 comments on commit 2b74d0b

Please sign in to comment.