webdav路径识别错误,无法登出等等

对于子路径文件,seafile有路径识别错误 https://xxxxxxx/filepath/


需要手动加上https://xxxxxxx/seafdav/filepath/ 才能正常识别。
已经尝试:

location /seafdav {
    proxy_pass         http://127.0.0.1:8080/seafdav/;
    proxy_set_header   Host $host;
    proxy_set_header   X-Real-IP $remote_addr;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   X-Forwarded-Host $server_name;
    proxy_set_header   X-Forwarded-Proto $scheme;
    proxy_read_timeout  1200s;
    client_max_body_size 0;

    access_log      /var/log/nginx/seafdav.access.log seafileformat;
    error_log       /var/log/nginx/seafdav.error.log;
}

然后我发现,这玩意儿要怎么登出和切换用户呢?