I have both Moodle and Nextcloud installed with nginx, and followed the docs on how to add nextcloud as oauth2 and create a repository. Everything seems be correctly setup, with an exclusive nextcloud system account for moodle linked to the oauth2 service.
But when I try to use the nextcloud repository created, I get no files available.
The only thing on the docs that I could not double check was this part:
"You should also check that the Apache modules "rewrite", "headers" and "env" are installed and enabled in the Nextcloud server."
Since I am using nginx, is there any configuration that should be done specifically either in Moodle's our NC server's side?