diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-05-17 20:23:12 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-05-17 20:34:42 +0200 |
commit | a16b003a9bf101234ca988b6e43466a3d6b99bc7 (patch) | |
tree | 3e7ab3a5d4f89b4a97f402fa90edc4d9e99b0791 /roles | |
parent | 5d7500809b375c57bd2e85ff6692de4a39522bf7 (diff) |
webmail: Add .webp to the list of static resources.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/webmail/files/etc/nginx/sites-available/roundcube | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/webmail/files/etc/nginx/sites-available/roundcube b/roles/webmail/files/etc/nginx/sites-available/roundcube index 2863fad..6bd4dd1 100644 --- a/roles/webmail/files/etc/nginx/sites-available/roundcube +++ b/roles/webmail/files/etc/nginx/sites-available/roundcube @@ -67,7 +67,7 @@ server { fastcgi_pass unix:/var/run/php/php7.3-fpm@roundcube.sock; } - location ~ "^/(?:plugins|program/js|program/resources|skins)(?:/[[:alnum:]][[:alnum:]\-\._]*)+\.(?:css|eot|gif|html|ico|jpg|js|pdf|png|svg|tiff?|ttf|woff2?)$" { + location ~ "^/(?:plugins|program/js|program/resources|skins)(?:/[[:alnum:]][[:alnum:]\-\._]*)+\.(?:css|eot|gif|html|ico|jpg|js|pdf|png|svg|tiff?|ttf|webp|woff2?)$" { try_files $uri =404; } location / { internal; } |