Commit 8fee9de8 authored by Emiliano Balbuena's avatar Emiliano Balbuena

(fix): Fonts should be handled by nginx

1 merge request!173WIP: Local infrastructure provisioner
......@@ -54,7 +54,7 @@ server {
log_not_found off;
}
location ~* \.(.woff|.woff2|.ttf) {
location ~* \.(woff|woff2|ttf|eot) {
add_header 'Access-Control-Allow-Origin' *;
}
......@@ -106,7 +106,7 @@ server {
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml|woff|woff2|ttf|eot|svg)$ {
expires 5d;
}
......
Please register or to comment