fastcgi_pass unix:/run/php5/fpm/agendav;
}
-location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
root /home/www/data/agendav/web/public/;
access_log off;
expires 30d;
client_body_buffer_size 1024k;
client_max_body_size 10m;
-location ~* ^/davical/htdocs/caldav.php(|/.*)$ {
+location ~* ^/davical/htdocs/caldav\.php(|/.*)$ {
root /usr/share/;
keepalive_timeout 10;
include /etc/nginx/conf.d/fastcgi.conf;
fastcgi_pass unix:/run/php5/fpm/davical;
}
-location ~* ^/davical/htdocs/.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^/davical/htdocs/.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
root /usr/share/;
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)$ {
access_log off;
expires 30d;
log_not_found off;
location / {
index index.html index.htm index.php;
}
-location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
access_log off;
expires 30d;
log_not_found off;
location / {
index index.html index.htm index.php;
}
-location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
access_log off;
expires 30d;
log_not_found off;
# NOTE: to get DAViCal and nginx working with iCal 6.0 clients.
return 301 /caldav.php$1;
}
-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/davical/htdocs/;
access_log off;
expires 30d;
}
index index.html index.htm index.php;
}
-location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
access_log off;
expires 30d;
log_not_found off;
location / {
index index.xhtml;
}
-location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
access_log off;
expires 30d;
log_not_found off;
location / {
index index.html index.htm index.php;
}
-location ~* ^.+.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
+location ~* ^.+\.(css|gif|html|ico|jpeg|js|jpg|png|txt|xml)$ {
access_log off;
expires 30d;
log_not_found off;
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;