mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
cors for fonts, so firefox stays happy
This commit is contained in:
@@ -31,6 +31,12 @@ server {
|
||||
|
||||
location / {
|
||||
root $public;
|
||||
|
||||
location ~* \.(eot|ttf|woff)$ {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
expires 1y;
|
||||
add_header Cache-Control public;
|
||||
}
|
||||
|
||||
location ~ ^/assets/ {
|
||||
expires 1y;
|
||||
|
||||
Reference in New Issue
Block a user