Server tuning - mariadb caching

Here’s the tutorial: https://docs.nextcloud.com/server/15/admin_manual/installation/server_tuning.html#using-mariadb-mysql-instead-of-sqlite
I assume this tutorial refers to MySQL.

But I use MariaDB. Do the following values have to be inserted into the file /etc/mysql/mariadb.conf.d/50-server.cnf?

[Mysqld]
innodb_buffer_pool_size = 1G
innodb_io_capacity = 4000

The file /etc/mysql/conf.d/mysql.cnf is empty at mkir.

Thank you.

if you do a grep -r Mysqld /etc/mysql you’ll find the [Mysqld] block.