deny all;
log_not_found off;
}
-location ~ ^/favicon.ico$ {
+location = /favicon.ico {
root /usr/share/roundcube/skins/default/images/;
access_log off;
expires max;
location ~ ^/(bin|SQL)/ {
deny all;
}
-location ~ ^/images/.+(png) {
+location ~ ^/images/.+\.(png) {
root /home/www/data/roundcube;
access_log off;
expires 30d;
log_not_found off;
}
-location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
root /usr/share/roundcube;
access_log off;
expires 30d;