From 338ec410bcf57569c7ccb03a66d718cef2f53726 Mon Sep 17 00:00:00 2001 From: Felix Date: Sat, 15 Feb 2020 17:35:31 +0100 Subject: [PATCH] Also gzip subtitles and svg files --- templates/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nginx.conf b/templates/nginx.conf index 329d054..c472065 100644 --- a/templates/nginx.conf +++ b/templates/nginx.conf @@ -60,7 +60,7 @@ ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECD # It might be nice to compress JSON, but leaving that out to protect against potential # compression+encryption information leak attacks like BREACH. gzip on; - gzip_types text/css application/javascript; + gzip_types text/css application/javascript text/vtt image/svg+xml; gzip_vary on; # Enable HSTS