How to fix Operation is blocked by access control? ubuntu 22.04, nginx

Support intro

Nextcloud version (22.04.1):
Operating system and version (Ubuntu 22.04.1 LTS):
nginx version (nginx/1.18.0):
PHP version (8.1):

The issue you are facing:

An error occurs when uploading a large file:

“Операция не разрешена модулем контроля доступа”

Translation of the error into English:

“The operation is not allowed by the access control module”

The file is uploaded, and after the page is refreshed, it will appear in the next cloud.
Is this the first time you’ve seen this error? (Y):

Steps to replicate it:

  1. Upload any large file (>15mb)
  2. Observe the error

I’m new to ubuntu. And unfortunately I don’t understand how to provide the necessary data. But after searching the forum for solutions, I found the following messages:
A decision from a forum participant
A decision from a forum participant

It seems to me that the solution they offer can help me. But I do not know where the necessary file is located in which corrections need to be made.