Nextcloud High Performance Backend for files with an seperate apache reverse proxy sever

Hello,
I have been trying to solve a problem for hours. I am trying to install HighPerformanceBackend for files for Nextcloud. Redis is already installed and working but it only said in the instructions how to configure it if you have created the SSL certificate on the host. However, I have a reverse proxy server container that creates the certificates for Nextcloud and etc. As a webserver I use Apache2 for the reverse proxy server and Nextcloud.
Where do I write this with which IP?

ProxyPass /push/ws ws://127.0.0.1:7867/ws
ProxyPass /push/ http://127.0.0.1:7867/
ProxyPassReverse /push/ http://127.0.0.1:7867/

And which IP address do I have to use here:

‘trusted_proxies’ =>
array (
0 => ‘’,
),

And what do I need to change here:

[Unit].
Description = Push daemon for Nextcloud clients

[Service]
Environment=PORT=7867
Environment=NEXTCLOUD_URL=https://nextcloud.meinedomain.de
ExecStart=/var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push /var/www/nextcloud/config/config.php
User=www-data

[Install]
WantedBy = multi-user.target

I bet there is a very logical and simple solution, but I am too stupid for it.
Thank you for any helpful answers.