{"id":1332,"date":"2024-04-01T23:12:56","date_gmt":"2024-04-01T15:12:56","guid":{"rendered":"https:\/\/hkc.nasclub.vip\/?p=1332"},"modified":"2024-10-16T12:46:42","modified_gmt":"2024-10-16T04:46:42","slug":"%e5%ae%9d%e5%a1%94%e4%bd%bf%e7%94%a8nginx%e6%90%ad%e5%bb%bawebdav%e6%9c%8d%e5%8a%a1%e7%ab%afnginx%e7%bc%96%e8%af%91%e5%ae%89%e8%a3%85webdav%e6%a8%a1%e5%9d%97","status":"publish","type":"post","link":"https:\/\/hkc.nasclub.vip\/?p=1332","title":{"rendered":"\u5b9d\u5854\u4f7f\u7528nginx\u642d\u5efawebdav\u670d\u52a1\u7aef,nginx\u7f16\u8bd1\u5b89\u88c5webdav\u6a21\u5757"},"content":{"rendered":"<h4 style=\"box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: #4d4d4d; overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; text-wrap: wrap; background-color: #ffffff; user-select: text !important; line-height: 24px !important;\"><strong>\u73af\u5883<\/strong><\/h4>\n<p style=\"box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: #4d4d4d; overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; text-wrap: wrap; background-color: #ffffff; user-select: text !important; line-height: 24px !important;\">\u7cfb\u7edf\uff1aCentOS 7.9<\/p>\n<p style=\"box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: #4d4d4d; overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; text-wrap: wrap; background-color: #ffffff; user-select: text !important; line-height: 24px !important;\">\u5b9d\u5854\uff1a8.0.5<\/p>\n<p style=\"box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: #4d4d4d; overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; text-wrap: wrap; background-color: #ffffff; user-select: text !important; line-height: 24px !important;\">1\u3001\u5b89\u88c5Nginx\uff0c\u9009\u62e9\u7f16\u8bd1\u5b89\u88c5\uff0c\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6a21\u5757\uff0c\u4f9d\u6b21\u586b\u5165\uff1a<\/p>\n<pre class=\"io-enlighter-pre\"><code class=\"code\" data-enlighter-language=\"php\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"\" data-enlighter-highlight=\"\">http_dav_module\r\nwebdev\r\n--with-http_dav_module --add-module=\/root\/nginx-dav-ext-module\r\ngit clone https:\/\/github.com\/arut\/nginx-dav-ext-module.git \/root\/nginx-dav-ext-module<\/code><\/pre>\n<p style=\"box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: #4d4d4d; overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; text-wrap: wrap; background-color: #ffffff; user-select: text !important; line-height: 24px !important;\"><img decoding=\"async\" class=\"ue-image\" src=\"https:\/\/nas.swihp.cn:39997\/file\/wordpress\/Linux\/006.png\" \/><\/p>\n<p style=\"box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: #4d4d4d; overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; text-wrap: wrap; background-color: #ffffff; user-select: text !important; line-height: 24px !important;\"><img decoding=\"async\" class=\"ue-image\" src=\"https:\/\/nas.swihp.cn:39997\/file\/wordpress\/Linux\/007.png\" \/><\/p>\n<p style=\"box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: #4d4d4d; overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; text-wrap: wrap; background-color: #ffffff; user-select: text !important; line-height: 24px !important;\">2.\u642d\u5efawebdav<\/p>\n<p style=\"box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; font-size: 16px; color: #4d4d4d; overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; text-wrap: wrap; background-color: #ffffff; user-select: text !important; line-height: 24px !important;\">\u9996\u5148\u65b0\u5efa\u7f51\u7ad9<\/p>\n<p><img decoding=\"async\" class=\"ue-image\" src=\"https:\/\/nas.swihp.cn:39997\/file\/wordpress\/Linux\/008.png\" \/><\/p>\n<p><span style=\"font-family: \u5b8b\u4f53, SimSun; font-size: 14px;\">\u6253\u5f00\u7f51\u7ad9\u8bbe\u7f6e\uff0c\u9009\u62e9\u914d\u7f6e\u6587\u4ef6\u3002<\/span><\/p>\n<p><span style=\"color: #4d4d4d; text-wrap: wrap; background-color: #ffffff; font-family: \u5b8b\u4f53, SimSun; font-size: 14px;\">\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u52a0\u5165\u4e0b\u5217\u5185\u5bb9\uff1a<\/span><\/p>\n<pre class=\"io-enlighter-pre\"><code class=\"code\" data-enlighter-language=\"php\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"\" data-enlighter-highlight=\"\">location \/ {\r\n    root \/www\/wwwroot\/webdav; #\u6ce8\u610f\u4fee\u6539\u6210\u81ea\u5df1\u7684\u76ee\u5f55\r\n    #client_max_body_size 102400M; #\u5927\u6587\u4ef6\u652f\u6301\r\n    autoindex on;\r\n    dav_methods PUT DELETE MKCOL COPY MOVE;\r\n    # \u9700\u8981 nginx-dav-ext-module \u624d\u6709\u4e0b\u9762\u7684\u9009\u9879\r\n    dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;\r\n    create_full_put_path \u00a0on;\r\n  }<\/code><\/pre>\n<p><img decoding=\"async\" class=\"ue-image\" src=\"https:\/\/nas.swihp.cn:39997\/file\/wordpress\/Linux\/009.png\" \/><img decoding=\"async\" class=\"ue-image\" src=\"https:\/\/nas.swihp.cn:39997\/file\/wordpress\/Linux\/010.png\" \/><\/p>\n<p><span style=\"color: #4d4d4d; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; font-size: 16px; text-wrap: wrap; background-color: #ffffff;\">\u7136\u540e\u5728 \u201c\u7f51\u7ad9\u76ee\u5f55\u201d\uff1e\u201c\u7f51\u7ad9\u914d\u989d\u5bb9\u91cf\u201d\u00a0 \u542f\u7528\u201c\u5bc6\u7801\u8bbf\u95ee\u201d\u5373\u53ef\u3002<\/span><\/p>\n<p><span style=\"color: #4d4d4d; font-family: -apple-system, 'SF UI Text', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, SimHei, SimSun; font-size: 16px; text-wrap: wrap; background-color: #ffffff;\"><img decoding=\"async\" class=\"ue-image\" src=\"https:\/\/nas.swihp.cn:39997\/file\/wordpress\/Linux\/011.png\" \/><\/span><\/p>\n<p>3.\u6253\u5f00\u6d4f\u89c8\u5668\uff1e\u8f93\u5165\uff1ahttp:\/\/IP\u00a0 \u5373\u53ef\u8bbf\u95eewebdav\u76ee\u5f55\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73af\u5883 \u7cfb\u7edf\uff1aCentOS 7.9&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-1332","post","type-post","status-publish","format-standard","hentry","category-hkc","category-linux"],"_links":{"self":[{"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/posts\/1332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1332"}],"version-history":[{"count":8,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/posts\/1332\/revisions"}],"predecessor-version":[{"id":1661,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=\/wp\/v2\/posts\/1332\/revisions\/1661"}],"wp:attachment":[{"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hkc.nasclub.vip\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}