Multiple HTTP providers

Is it possible to use several endpoints under http provider? If I add them like this I get none services discovered.

      - http://address:1554/traefik
      - http://address:1555/traefik
      - http://address:1556/traefik
      - http://address:1557/traefik

If I leave out just one entry in the list the service gets discovered.

Hello @sprnza and thanks for your interest in Traefik,

Unfortunately, it is not possible to use several endpoints in the HTTP provider configuration as explained in the documentation.

Even if it is working, the documentation should be fixed because the YAML example uses an array instead of a plain string which is confusing.

I opened the following pull request: Fix HTTP provider endpoint config example by kevinpollet · Pull Request #8715 · traefik/traefik · GitHub to fix the documentation.

1 Like

Thanks! The documentation for other providers should be fixed also I suppose.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.