I haven’t seen an option for the config/config.php.
Perhaps you just have to configure it in php, not sure if Nextcloud does it’s own thing:
Either you are expert and you know or you are a big company and you can afford their service Of course it’s open source and you can share your findings and others can help you.