Camunda redirecting from HTTPS to HTTP

Hi,

We are having troubles with HTTP 302 redirections generated from Operate, Tasklist and Optimize backends. When we access them through HTTPS and there is some redirection (before or after login, for example), the Location response header changes protocol to HTTP, and since port 80 is closed, it breaks.


But this is working in Identity.

Is there any configuration variable that manages this?

For Optimize these are the environment variables that have URLs as values:

      - CAMUNDA_OPTIMIZE_IDENTITY_ISSUER_URL=https://${TRAEFIK_HOST}/tools/keycloak/auth/realms/si-apa
      - CAMUNDA_OPTIMIZE_IDENTITY_ISSUER_BACKEND_URL=http://keycloak:8080/auth/realms/si-apa
      - CAMUNDA_OPTIMIZE_IDENTITY_REDIRECT_ROOT_URL=https://${TRAEFIK_HOST}/tools/optimize

Is there anything missing?

Thank you very much

Have you found a solution?