diff --git a/config/nginx/defaults.conf b/config/nginx/defaults.conf index c373fa5e..35110591 100644 --- a/config/nginx/defaults.conf +++ b/config/nginx/defaults.conf @@ -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; } @@ -25,11 +24,6 @@ location = /ads.txt { access_log off; } -location @empty { - expires 1y; - empty_gif; -} - location ~* \.flv$ { flv; } @@ -55,4 +49,4 @@ location ~ /\. { location ~ /Makefile { deny all; -} \ No newline at end of file +}