From: Julien Moutinho Date: Mon, 20 Oct 2014 10:28:22 +0000 (+0200) Subject: Correction : erreurs 404 avec davical. X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/%40%20%27entree_login%27%20=%3E%20%27Your%20login%27%2C%20%27entree_login_connexion_1%27%20=%3E%20%27Connection%20login%27%2C%20%27entree_login_connexion_2%27%20=%3E%20%27%28Sometimes%20matches%20your%20FTP%20account%20login%20and%20sometimes%20left%20empty%29%27%2C-%27entree_login_ldap%27%20=%3E%20%27Initial%20LDAP%20login%27%2C%20%27entree_mot_passe%27%20=%3E%20%27Your%20password%27%2C%20%27entree_mot_passe_1%27%20=%3E%20%27Password%27%2C%20%27entree_mot_passe_2%27%20=%3E%20%27%28Sometimes%20matches%20your%20FTP%20access%20password%20and%20sometimes%20left%20empty%29%27%2C%40%40%20-150%2C7%20%20121%2C7%20%40%40%20Do%20not%20submit%20this%20import%20request.%3Cp%3EFor%20more%20information%2C%20please%20see%20%3Ca%20href=?a=commitdiff_plain;h=341cc63a096f737ef1a64312e379f08b281e5edf;p=lhc%2Fateliers.git Correction : erreurs 404 avec davical. --- diff --git a/etc/nginx/site.d/davical/site.conf b/etc/nginx/site.d/davical/site.conf index 278306a..aa0a262 100644 --- a/etc/nginx/site.d/davical/site.conf +++ b/etc/nginx/site.d/davical/site.conf @@ -9,6 +9,10 @@ client_max_body_size 10m; rewrite ^\.well-known(.*)$ /caldav.php/.well-known$1; rewrite ^principals/users(.*)$ /caldav.php$1; +error_page 404 = /404; +location /404 { + return 404; + } location / { # NOTE: to get DAViCal and nginx working with iCal 6.0 clients. return 301 /caldav.php$1;