From a59dcfc89002828331ee8eee6fda2d02af4897a5 Mon Sep 17 00:00:00 2001 From: Milan Date: Thu, 18 Jan 2024 17:03:02 +0100 Subject: [PATCH] nginx: fix missing ttf static files --- nginx/development | 2 +- nginx/production | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/development b/nginx/development index 64cd1b911..0054c8c26 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|webp|css|js)$ { + location ~ \.(bmp|ico|jpg|jpeg|png|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 76ed19449..7cc0bad22 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|webp|css|js)$ { +# location ~ \.(bmp|ico|jpg|jpeg|png|tif|tiff|ttf|webp|css|js)$ { # root /app; # try_files $uri =404; # add_header X-Cache-Status STATIC;