洛杉矶MC机房 高速低价18元起

DIYVM

[疑问] nginx -t 提示出错,又不知道错在哪里 烦…

提示:如果官网是英文页面,建议使用谷歌浏览器能同步翻译页面。点击下载【谷歌浏览器最新绿色便携版】
注意:部分文章发布时间较长,可能存在未知因素,购买时建议在本站搜索商家名称,先充分了解商家动态。
交流:唯一投稿邮箱:hostvps@88.com。

网友 j6hok*gfrr 说:

  nginx -t 提示出错,又不知道错在哪里 烦…
location / {
        **ot   /home/dav;
        index  index.html index.htm;
        **th_basic realm_name;
        **th_basic_user_file /etc/nginx/.pa**words.list;
        dav_methods PUT ****** MKCOL COPY MOVE;
        dav_ext_methods PROPFIND OPTIONS;
        dav_acce** user:rw g**up:rw all:r;
        client_body_temp_path /tmp;
        client_max_body_size 0;
        ******_full_put_path on;
    }

nginx -t
提示这一行出错
dav_ext_methods PROPFIND OPTIONS;
去掉提示 500 Internal Server Er**r


网友 我不是你的 说:

****** {
        listen 80;
        listen [::]:80;

        ******_name dav.engr-z.com;
        **th_basic &*uot;Autho**zed Users Only&*uot;;
        **th_basic_user_file /etc/.htpa**wd;

        location / {
                **ot /data/webdav;
                client_body_temp_path /var/temp;
                dav_methods PUT ****** MKCOL COPY MOVE;
                dav_ext_methods PROPFIND OPTIONS;
                ******_full_put_path on;
                client_max_body_size 10G;
        }
}

****** {
        listen 443;
        listen [::]:443;
        ******_name dav.engr-z.com;

        **l on;
        **l_certificate /data/www/cert/dav.engr-z.com_nginx/cert.pem;
        **l_certificate_key /data/www/cert/dav.engr-z.com_nginx/cert.key;
        **l_se**ion_timeout 5m;
        **l_p**tocols SSLv2 SSLv3 TLSv1;
        **l_ciphers ALL:!ADH:!EXPOR***56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
        **l_prefer_******_ciphers on;

        location / {
                **ot /data/webdav;
                client_body_temp_path /var/temp;
                dav_methods PUT ****** MKCOL COPY MOVE;
                dav_ext_methods PROPFIND OPTIONS;
                ******_full_put_path on;
                client_max_body_size 10G;
        }

}


网友 j6hok*gfrr 说:

我不是你的 发表于 2022-6-5 16:08
****** {
        listen 80;
        listen [::]:80;
网友 j6hok*gfrr 说:

我不是你的 发表于 2022-6-5 16:08
****** {
        listen 80;
        listen [::]:80;

About 贝壳

【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。

 收藏 (0) 打赏

您可以选择一种方式赞助本站

支付宝扫一扫赞助

微信钱包扫描赞助

本文链接:贝壳主机网 » [疑问] nginx -t 提示出错,又不知道错在哪里 烦…

分享到: 生成海报
香港/美国/国内高速VPS
切换注册

登录

忘记密码 ?

切换登录

注册

我们将发送一封验证邮件至你的邮箱, 请正确填写以完成账号注册和激活