diff --git a/nginx/development b/nginx/development index 0054c8c26..fdfd14e1d 100644 --- a/nginx/development +++ b/nginx/development @@ -64,7 +64,7 @@ server { # directly serve images and static files from the # bookwyrm filesystem using sendfile. # make the logs quieter by not reporting these requests - location ~ \.(bmp|ico|jpg|jpeg|png|tif|tiff|ttf|webp|css|js)$ { + location ~ \.(bmp|ico|jpg|jpeg|png|svg|tif|tiff|ttf|webp|css|js)$ { root /app; try_files $uri =404; add_header X-Cache-Status STATIC; diff --git a/nginx/production b/nginx/production index 7cc0bad22..296ede70c 100644 --- a/nginx/production +++ b/nginx/production @@ -96,7 +96,7 @@ server { # # directly serve images and static files from the # # bookwyrm filesystem using sendfile. # # make the logs quieter by not reporting these requests -# location ~ \.(bmp|ico|jpg|jpeg|png|tif|tiff|ttf|webp|css|js)$ { +# location ~ \.(bmp|ico|jpg|jpeg|png|svg|tif|tiff|ttf|webp|css|js)$ { # root /app; # try_files $uri =404; # add_header X-Cache-Status STATIC;