MariaDB has nothing to do with nginx, inside nginx you configure php or Lua and from there on you connect to mariadb, mariadb should already be installed separately. nginx by itself does not connect to any database.
↧