mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05: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