Can traefik be used as a reverse proxy for Syncthing Discovery Server? Unclear how to set headers

Hi I've been reading the documentation about how to setup a Syncthing discover server behind a reverse proxy:

An example is given for an Nginx reverse proxy with the following:

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Client-Port $remote_port;
proxy_set_header X-SSL-Cert $ssl_client_cert;
ssl_verify_client optional_no_ca;

I'm aware traefik can for forwared X-Forwarded Header if within the static config file, an option is used similarly to:

  websecure:
    address: :443
    forwardedHeaders:
      insecure: true

I'm not certain however if traefik can set the X-Client-Port and X-SSL-Cert because I don't believe traefik handles $remote_port and $ssl_client_cert variables? I'm really not sure. Is there a way to make this work somehow? I struggle with converting certain nginx headers into traefik syntax.