diff --git a/conf/nginx.conf b/conf/nginx.conf index ad6c9ed..b41f8a0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,11 +15,11 @@ location __PATH__/ { } # Prevent useless logs - location = /favicon.ico { + location ~ ^/favicon.ico { log_not_found off; access_log off; } - location = /robots.txt { + location ~ ^/robots.txt { allow all; log_not_found off; access_log off;