nginx - NGINX CalDAV:“报告/HTTP/1.1”405 166
问题描述
我有一个非常基本的 nginx 在线日历设置。可以在 Thunderbird 日志中添加事件,并且 .ics 文件位于正确的目录中。
NGINX 日志:"PUT /xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.ics HTTP/1.1" 201 0
但后来我无法收到任何事件:
NGINX 日志:"REPORT / HTTP/1.1" 405 166
看起来 NGINX 不支持REPORT方法。这是事实还是有人知道解决方案?
谢谢,一切顺利,里奇
我的配置文件:
server {
listen 80;
listen [::]:80;
root /var/www/calendar.my.tld;
server_name calendar.my.tld;
auth_basic "restricted";
auth_basic_user_file /var/www/calendar.my.tld/.htpasswd;
location / {
dav_methods PUT DELETE MKCOL COPY MOVE;
dav_ext_methods PROPFIND OPTIONS;
dav_access user:rw group:rw all:rw;
autoindex on;
}
}
解决方案
推荐阅读
- javascript - 如何使用反应钩子在组件之间传递道具
- jquery - materialize sidenav 正在出现,但即使在使用 jquery 之后单击它也没有发生任何事情
- ruby-on-rails - 我无法在 Activerecord 中复制此数据库模型
- python - 将具有列表作为值的 Python 字典转换为简单字典
- java - char 列中的 Spring Boot 存储库日期
- javascript - SignalR 拒绝连接到 [url],因为它违反了以下内容安全策略指令
- javascript - 如何找到动态 xpath 元素
- python - 来自 Tensorflow2 中的 Beta 分布数组的样本
- hyperledger-fabric - 编写超级账本链码的语言是否重要?
- javascript - 是否有运行反应的任何正当程序