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
No known key found for this signature in database
GPG key ID: 6778C9C29C02D691

View file

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