Opencloud with external reverse proxy fails health check

Hi, I successfully installed the OpenCloud app last weekend (OpenCloud version: 4.0.3, App version: 1.2.0). As I want to seamless integrate it within the rest of my network, I want to use my own reverse proxy. I have this proxy running on a different server and to be able to make this setup work, I had to add the environment variable PROXY_TLS set to false. But because of that, the build in health check fails and the status of Opencloud stays “deploying”. I can reproduce it in the terminal.

The original health check:

curl --request GET --silent --output /dev/null --show-error --fail --insecure https://127.0.0.1:30259/healthz
curl: (35) OpenSSL/3.0.16: error:0A00010B:SSL routines::wrong version number

When I change the command a bit:

curl --request GET --silent --output /dev/null --show-error --fail http://127.0.0.1:30259/healthz

(no error)

It’s not a big deal, as OpenCloud is working fine. But is it possible to change the health check based on the PROXY_TLS variable?