Empty WebDav Folder only from external connections

I add that by connecting from the outside using winscp I get the error message:

Unexpected response (405 Not Allowed)

Could it be related to a webdav redirect error?

and

Fix WebDAV redirect issues

Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav