Best way to configure Apache server for Access

Hello, I am currently trying to setup the Access and Tunnel for my selfhosted Nextcloud instance.

I have my Nextcloud running on Apache server on Raspberry pi 4 which is directly connected to my ISP without any routers(at least on my end)

I think my current issue is that the configuration I have for Apache does not work with Access. I get the login page for Access, but after I log in the browser just turns blank and does not respond.

This is the config I currently have for Apache

<VirtualHost *:80>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/\.well\-known/acme\-challenge/
    RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</VirtualHost>

<VirtualHost *:443>
    DocumentRoot /var/www/nextcloud/
        ServerName  myservername

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

        <IfModule mod_dav.c>
            Dav off
        </IfModule>
    </Directory>
    SSLEngine on
    SSLCertificateFile      /opt/wildcert/cert.pem
    SSLCertificateKeyFile   /opt/wildcert/privkey.pem
    SSLCertificateChainFile /opt/wildcert/chain.pem

    # enable HTTP/2, if available
    Protocols h2 http/1.1

    # HTTP Strict Transport Security (mod_headers is required) (63072000 seconds)
    Header always set Strict-Transport-Security "max-age=63072000"
</VirtualHost>

# modern configuration
SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1 -TLSv1.2
SSLHonorCipherOrder     off
SSLSessionTickets       off

SSLUseStapling On
SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
SSLVerifyClient require
SSLVerifyDepth 1
SSLCACertificateFile /opt/cloudflareCA.pem

I believe I used the Mozilla ssl config tool and added the wildcard certificate part.