Disable web login

Nextcloud version (eg, 20.0.5): 20.0.5.2
Operating system and version (eg, Ubuntu 20.04): Debian 10
Apache or nginx version (eg, Apache 2.4.25): Apache 2
PHP version (eg, 7.4): 7.4.3

Hi to all, I use nextcloud only via webdav so, for security reason, I need to disable web login page.
I set this parameter on config.php:

'auth.webauthn.enabled' => false,
'hide_login_form' => true,

But without effects. What’s wrong?
Thanks a lot
Stefano

Hi, hiding the login form is only available on NC22 and above.

Ok, I’m sorry. But, what’s the meaning of ‘auth.webauthn.enabled’ => false configuration?
Thanks!

Webauth is passwordless authentication e.g. with devices.

Also i think it is not really a security risk to enable web access and WebDAV.
I think WebDAV uses similar ways.
For security reason you can perhaps use native WebDAV with e.g. apache2.
Read mod_dav - Apache HTTP Server Version 2.4
I think you also get a better performance.