Reverse-proxy vs apache2 certificate

Hi, newbie passing by.

So, I just installed nextcloud from the docker image.
I wanted to have https on the web interface.

Now, the question is: Is there any good reason I shouldn’t just add to the 000-default.conf

SSLEngine on
SSLCertificateFile /etc/apache2/certificate/apache-certificate.crt
SSLCertificateKeyFile /etc/apache2/certificate/apache.key

Keys from Let’s Encrypt that I have domain wide?
And do a quick

sudo a2enmod ssl 
/etc/init.d/apache2 restart

Is there any security risk vs a reverse proxy?