Files
B24-docker/confs/nginx/inc/dav.conf
T
2026-05-20 15:23:05 +03:00

18 lines
558 B
Plaintext

#
location ~ ^/bitrix/groupdav.php.*$ {
if ($request_method ~ ^(PROPPATCH|MKCALENDAR)$) {
add_header Allow "OPTIONS,REPORT,CHECKAUTH,PROPFIND,MKCOL,GET,POST,PUT,DELETE,COPY,MOVE,LOCK,UNLOCK,ACL,HEAD";
return 405 "Method not allowed";
}
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/bitrix/groupdav.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass php:9000;
}
#
location ~ ^/.well-known/(caldav|carddav)$ {
rewrite ^ /bitrix/groupdav.php last;
}
#