From cce519c645c55c246817f92cf24e8332c03f2252 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 27 Jan 2021 15:28:32 +0100 Subject: Roundcube: Serve assets pre-compressed when possible. See https://salsa.debian.org/roundcube-team/roundcube/-/commit/f1e89494e8b777d69564e67f2d8b47ac84eb02f4 . --- roles/webmail/files/etc/nginx/sites-available/roundcube | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/webmail/files/etc/nginx/sites-available') diff --git a/roles/webmail/files/etc/nginx/sites-available/roundcube b/roles/webmail/files/etc/nginx/sites-available/roundcube index 05895ba..5a615cb 100644 --- a/roles/webmail/files/etc/nginx/sites-available/roundcube +++ b/roles/webmail/files/etc/nginx/sites-available/roundcube @@ -36,6 +36,7 @@ server { include snippets/mail.fripost.org.hpkp-hdr; gzip on; + gzip_static on; gzip_vary on; gzip_min_length 256; gzip_types application/font-woff application/font-woff2 application/javascript application/json application/xml image/svg+xml image/x-icon text/css text/plain text/vcard; -- cgit v1.2.3