diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-01-27 15:28:32 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-01-27 15:28:32 +0100 |
commit | cce519c645c55c246817f92cf24e8332c03f2252 (patch) | |
tree | cfa7ad994ff563829a602dea22942cb3a1efc12e /roles/webmail/files/etc/nginx/sites-available | |
parent | 393c894d3b5d84d28555e557edcbc7531c070452 (diff) |
Roundcube: Serve assets pre-compressed when possible.
See https://salsa.debian.org/roundcube-team/roundcube/-/commit/f1e89494e8b777d69564e67f2d8b47ac84eb02f4 .
Diffstat (limited to 'roles/webmail/files/etc/nginx/sites-available')
-rw-r--r-- | roles/webmail/files/etc/nginx/sites-available/roundcube | 1 |
1 files changed, 1 insertions, 0 deletions
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; |