FIX: Allow fonts to be delivered via CDN
We introduced support for custom fonts which are shipped out of the `/fonts` directory, however we did not provide a bypass in our NGINX config.
This commit is contained in:
parent
3b55de90e5
commit
f5051ec833
|
@ -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 *;
|
||||
|
|
Loading…
Reference in New Issue