Problem ssl with clouflare

Hello

I have installed nextcloud on debian and I have a problem with the cloudflare ssl. I have authorized the cloudflare ip’s but when the ssl is active I get an error 522

here is the nextcloud configuration

<VirtualHost *:80>
        DocumentRoot "/var/www/nextcloud"
        ServerName monnextcloud.tk

        ErrorLog ${APACHE_LOG_DIR}/nextcloud.error
        CustomLog ${APACHE_LOG_DIR}/nextcloud.access combined

        <Directory /var/www/nextcloud/>
            Require all granted
            Options FollowSymlinks MultiViews
            AllowOverride All

           <IfModule mod_dav.c>
               Dav off
           </IfModule>

        SetEnv HOME /var/www/nextcloud
        SetEnv HTTP_HOME /var/www/nextcloud
        Satisfy Any

       </Directory>

RewriteEngine on
RewriteCond %{SERVER_NAME} =monnextcloud.tk
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

<VirtualHost *:443>
        DocumentRoot "/var/www/nextcloud"
        ServerName monnextcloud.tk
    serverAlias www.monnextcloud.tk

        ErrorLog ${APACHE_LOG_DIR}/nextcloud.error
        CustomLog ${APACHE_LOG_DIR}/nextcloud.access combined

        <Directory /var/www/nextcloud/>
            Require all granted
            Options FollowSymlinks MultiViews
            AllowOverride All

           <IfModule mod_dav.c>
               Dav off
           </IfModule>

        SetEnv HOME /var/www/nextcloud
        SetEnv HTTP_HOME /var/www/nextcloud
        Satisfy Any

       </Directory>

SSLEngine on
SSLCertificateFile /etc/ssl/cloudflare/cert.pem
SSLCertificateKeyFile /etc/ssl/cloudflare/key.pem
</VirtualHost>
![brave_ybEtYYP9bV|690x382](upload://eR0DL5rf3X8og5zDXXMv17yCC0b.png)

here is what he posted in the log file a few days ago

[Wed Jun 08 19:18:12.215134 2022] [access_compat:error] [pid 737] [client 141.101.68.31276] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata

Thank you for your help