Securty and setup warns

That depends on the webserver and the OS you are using, and whether you are running Nextcloud behind a reverse proxy or not.

If you are using Apache just make sure .htaccess is enabled. In Debian/Ubuntu open the file /etc/apache2/apache2.conf. Find the section <Directory /var/www/> and change the directive AllowOverride None to AllowOverride All. In addition to that you can also set it seperatly per VirtualHost. An example configuration for an Apache VirtualHost can be found here…

https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#apache-web-server-configuration

After you made the changes, restart apache and upgrade the .htacces file of your Nextcloud installation:

sudo -u www-data php /path/to/nextcloud/occ maintenance:update:htaccess

For NGINX and/or Reverse Proxy configurations see…

https://docs.nextcloud.com/server/stable/admin_manual/installation/nginx.html

and

https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/reverse_proxy_configuration.html

Hope that helps…