mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: add CORS header for .woff2
This commit is contained in:
@@ -80,7 +80,7 @@ server {
|
||||
root $public;
|
||||
add_header ETag "";
|
||||
|
||||
location ~* \.(eot|ttf|woff|ico)$ {
|
||||
location ~* \.(eot|ttf|woff|woff2|ico)$ {
|
||||
expires 1y;
|
||||
add_header Cache-Control public;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
||||
Reference in New Issue
Block a user