Skip to content

A platform for community discussion. Free, open, simple.

FIX: Allow fonts to be delivered via CDN

Sam Saffronf5051ec833e8
diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf
index 18e16a20e25..222c5b39182 100644
--- a/config/nginx.sample.conf
+++ b/config/nginx.sample.conf
@@ -112,7 +112,7 @@ server {
break;
}
- location ~* (assets|plugins|uploads)/.*\.(eot|ttf|woff|woff2|ico)$ {
+ location ~* (fonts|assets|plugins|uploads)/.*\.(eot|ttf|woff|woff2|ico)$ {
expires 1y;
add_header Cache-Control public,immutable;
add_header Access-Control-Allow-Origin *;