윈도우에서 webdav를 연결하려는데 에러가 났다. 보통은 아이디, 패스워드를 입력하는 창이 나오는데 네트워크가 아에 연결이 안 되는 것과 같은 에러가 발생했다.
nginx 설정에 문제가 있는 것으로 보여 설정 관련 내용을 찾았다.
참고 (https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html)
위 설정 가이드에서 다음 부분만 추가해주니 정상동작했다.
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients location = / { if ( $http_user_agent ~ ^DavClnt ) { return 302 /remote.php/webdav/$is_args$args; } }