diff --git a/PVE/HTTPServer.pm b/PVE/HTTPServer.pm index 6ea2795f..3f402724 100755 --- a/PVE/HTTPServer.pm +++ b/PVE/HTTPServer.pm @@ -361,6 +361,12 @@ sub send_file_start { } elsif ($filename =~ m/\.jar$/) { $ct = 'application/java-archive'; $nocomp = 1; + } elsif ($filename =~ m/\.woff$/) { + $ct = 'application/font-woff'; + $nocomp = 1; + } elsif ($filename =~ m/\.ttf$/) { + $ct = 'application/x-font-ttf'; + $nocomp = 1; } else { die "unable to detect content type"; }