Correction : nginx : échappement regexp.
[lhc/ateliers.git] / etc / nginx / site.d / caldavzap / site.conf
index 4fbd09e..91a382e 100644 (file)
@@ -5,7 +5,7 @@ server_name
 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;
@@ -41,13 +41,13 @@ location ~* ^/davical/htdocs/caldav.php(|/.*)$ {
        
        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;