Commit 05423890 authored by Owain Jones's avatar Owain Jones
Browse files

stop logging 404s in /static/images

parent da5ccc68
......@@ -61,10 +61,10 @@ server {
add_header Cache-Control "public";
}
location ~ ^/images/vehicles/(?P<vehicle_type>[a-zA-Z0-9]+)_(?P<vehicle_name>[a-zA-Z0-9]+)\.(png|jpg)$ {
location ~ ^/static/images/.*$ {
access_log off;
error_log off;
try_files $uri images/vehicles/$vehicle_name.png =404;
try_files $uri =404;
}
location /static/logs {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment