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;