Problems with https

I run Keycloak as a docker container and proxy to https with Apache2. SSL certificate Let’s Encrypt. When I go to start page so it is OK. When I go to admin console keycloak is redirected back to http… Any ideas what is wrong?

You Keycloak doesn’t know about used reverse proxy:
https://www.keycloak.org/docs/latest/server_installation/#_setting-up-a-load-balancer-or-proxy