Changing the default behavior for urls with no terminating slash

I'm running in a docker swarm and transitioning from NGINX to Traefik.

With my old NGINX directives a URL with no terminating slash (xxx .com/auth) would get routed to xxx .com/auth/

    location ^~ /auth/ {
      # proxy keycloak requests
      proxy_pass https://keycloak:8443/auth/;

      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection 'upgrade';
      proxy_set_header Host $host;

      proxy_http_version 1.1;
      proxy_cache_bypass $http_upgrade;
    }

it seems the only way I've found around it is to add all this extra code

        # Add trailing slash to /auth path
        - traefik.http.middlewares.auth-strip-slash.redirectregex.regex=(^.*\/auth$$)
        - traefik.http.middlewares.auth-strip-slash.redirectregex.replacement=$$1/
        - traefik.http.middlewares.auth-strip-slash.redirectregex.permanent=false
        - traefik.http.routers.keycloak.middlewares=auth-strip-slash

is there anyway to make this the default behavior instead of having to add that statement to every container definition?