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:
Sam Saffron 2020-09-02 10:19:19 +10:00
parent 3b55de90e5
commit f5051ec833
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
1 changed files with 1 additions and 1 deletions

View File

@ -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 *;