6
0
Fork 0

All CORS for woff and woff2 files in WP.

This commit is contained in:
Joachim Desroches 2021-09-16 14:00:25 +02:00
parent 7c950e66d5
commit 195bd49d53
Signed by untrusted user who does not match committer: jdesroches
GPG Key ID: 6778C9C29C02D691
1 changed files with 4 additions and 0 deletions

View File

@ -84,4 +84,8 @@ require="__package/nginx" __nginx "$nginx_domain" \
expires max;
log_not_found off;
}
location ~* \.(woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
}
EOF