Nginx try_files to traefik ingressrout?

I am just change nginx to traeifk,some like below:

location / {
    try_files $uri $uri/index.html $uri.html =404;
}

nginx config try_files

my config

metadata:
  name: some
spec:
  entryPoints:
    - web
  routes:
  - match: Host(`some.mydomain.com`) && Path('/','[\w]+')
    kind: Rule
    services:
    - name: some
      port: 80

but the Path don't working .
any help thanks a lot.

Sorry, not clear.

Nginx is a web server not just a proxy like Traefik, and Traefik does not have a feature similar to try_files simply because it's not a web server.

Also "not working" is not a very good problem description. How do you test, what results are you expecting and what are you observing instead?