add ttf to nginx

indiachan-spamvector
Thomas Lynch 1 year ago
parent 9ebdaada35
commit 29978889f4
Signed by: fatchan
GPG Key ID: A7E5E8B7E11EE92D
  1. 2
      configs/nginx/snippets/jschan_common_routes.conf

@ -65,7 +65,7 @@ location ~* \.js$ {
}
# Files (image, video, audio, other)
location ~* \.(png|jpg|jpeg|webmanifest|xml|ico|apng|bmp|webp|pjpeg|jfif|gif|mp4|webm|mov|mkv|svg|flac|mp3|ogg|wav|opus)$ {
location ~* \.(png|jpg|jpeg|webmanifest|xml|ico|apng|bmp|webp|pjpeg|jfif|gif|mp4|webm|mov|mkv|svg|flac|mp3|ogg|wav|opus|ttf)$ {
access_log off;
expires max;
root /path/to/jschan/static;

Loading…
Cancel
Save