Help with nextcloud reverse proxy script, UCS 5.0 errata44

Hello - I just cant get this guy running, any help appreciated. I have followed all the steps here:

I just cant get it to come up - any help appreciated. I havent been able to get our old owncloud running or nextcloud since the upgrade - thanks


ServerName realdomain.com ServerAlias www.realdomain.com

DocumentRoot /var/www
<Directory /var/www>
Options +FollowSymlinks
AllowOverride All

Dav off

SetEnv HOME /var/www
SetEnv HTTP_HOME /var/www

SSLEngine on
SSLProxyEngine on
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLCertificateFile /etc/univention/letsencrypt/signed_chain.crt
SSLCertificateKeyFile /etc/univention/letsencrypt/domain.key
SSLCACertificateFile /etc/univention/ssl/ucsCA/CAcert.pem
SSLCertificateChainFile /etc/univention/letsencrypt/intermediate.pem

Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"

ProxyPass /nextcloud https://127.0.0.1:40001/
ProxyPassReverse /nextcloud https://127.0.0.1:40001/

    ProxyPreserveHost On
    ProxyRequests Off