Setting up an external reverse proxy to forward requests to an Rustdesk KasmVNC instance

So i have an external server that runs a few services, and uses traefik as its reverse proxy. I also have an internal server running the rustdesk kasmvnc image.
i want to forward requests that go to a specific subdomain of the domain that the external server uses to the rustdesk instance running on my internal server. below is a diagram of what i want


ive been configuring the forwards using a dynamic traefik file. here is the contents of that file. edited to make it more concise and only include the service im talking about.

http:
  routers:
    rustdesk:
      rule: Host(`rustdesk.domain`)
      service: rustdesk-fw

  services:
    rustdesk-fw:
      loadBalancer:
        servers:
          #- url: http://internal.server.3000
          - url: https://internal.server:3001

trying to use the http port gives me a bad gateway error when i visit the page using the rustdesk subdomain i made. the https port will give me internal server error
if any other information is needed, i will provide.
what do i do to resolve this error?