nginx -t 提示出错,又不知道错在哪里 烦… location / { root /home/dav; index index.html index.htm; auth_basic realm_name; auth_basic_user_file /etc/nginx/.passwords.list; dav_methods PUT DELETE MKCOL COPY MOVE; dav_ext_methods PROPFIND OPTIONS; dav_access user:rw group:rw all:r; client_body_temp_path /tmp; client_max_body_size 0; create_full_put_path on; } nginx -t |
server { listen 80; listen [::]:80; server_name dav.engr-z.com; location / { server { ssl on; location / { } |
试试 |
我这里 |