Convert nginx ingress resource to traefik

How do I convert below nginx ingress to work on traefik 1.7

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx-infra-639-migrate-nginx-in
    nginx.ingress.kubernetes.io/rewrite-target: /$1
  labels:
  name: server-sxiwzgmm-regex
  namespace: infra-639-migrate-nginx-in
spec:
  rules:
  - http:
      paths:
      - backend:
          serviceName: server
          servicePort: svc-port
        path: /.*/api/(.*)