X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fsite.d%2Fcaldavzap%2Fsite.conf;h=91a382e1d94144ee3b31ac4c4d9c0166503b8107;hb=e77a454ce713dde6eaec17043e756104e9fb5ecc;hp=38cbe1fa408dfa951a98557a0c88e2fad9a85376;hpb=e2ae547ef85e29f3f9c9dfe31feffdac2653df06;p=lhc%2Fateliers.git diff --git a/etc/nginx/site.d/caldavzap/site.conf b/etc/nginx/site.d/caldavzap/site.conf index 38cbe1f..91a382e 100644 --- a/etc/nginx/site.d/caldavzap/site.conf +++ b/etc/nginx/site.d/caldavzap/site.conf @@ -1,9 +1,11 @@ -server_name caldavzap.heureux-cyclage.org; +server_name + caldavzap.heureux-cyclage.org + caldavzap.cyclocoop.org; 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; @@ -39,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;