I haven’t tried this setup myself, but my thoughts are:
Naturally rest-server can only talk HTTP if you don’t give it a TLS cert to use, so that’s expected.
If you front it with Traefik, then Traefik should wrap that HTTP from rest-server in HTTPS, and if that’s not what you’re seeing, you probably have a misconfiguration in Traefik?