dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction : erreurs 404 avec davical.
[lhc/ateliers.git]
/
etc
/
nginx
/
site.d
/
davical
/
site.conf
diff --git
a/etc/nginx/site.d/davical/site.conf
b/etc/nginx/site.d/davical/site.conf
index
278306a
..
aa0a262
100644
(file)
--- 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;
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;
location / {
# NOTE: to get DAViCal and nginx working with iCal 6.0 clients.
return 301 /caldav.php$1;