Skip to content

Commit

Permalink
Gzip: properly escape regexes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasgeniar committed Oct 31, 2014
1 parent e86619c commit f36ffaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions production.vcl
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ sub vcl_fetch {
|| beresp.http.content-type ~ "application/(x-)?font-ttf"
|| beresp.http.content-type ~ "application/(x-)?font-opentype"
|| beresp.http.content-type ~ "application/font-woff"
|| beresp.http.content-type ~ "application/vnd.ms-fontobject"
|| beresp.http.content-type ~ "image/svg+xml"
|| beresp.http.content-type ~ "application/vnd\.ms-fontobject"
|| beresp.http.content-type ~ "image/svg\+xml"
) {
set beresp.do_gzip = true;
}
Expand Down

0 comments on commit f36ffaf

Please sign in to comment.