Philipp Fehr

Results 34 comments of Philipp Fehr

@PhonicUK Those would be the needed ones for version >= 2.0 - traefik.http.services..loadbalancer.server.port= - traefik.http.routers..rule=Host(\`\\`) this would be for a simple http setup for https you'd need another config option...

1. "traefik.enable=true" Just to make sure that trafik actually applies the label on this docker. This might not be necessary depending upon the user's setup but it won't hurt. 2....

@jLemmings do you think my example was clear enough? Or would you add anything?

> `traefik.http.services.AMP_INSTANCE.loadbalancer.server.port=3000` > > Where is that port number coming from @jLemmings ? The port number is the published web port on the docker.

> One thing I noticed. I would be hesitant about automatically adding STS and preload headers without making them optional and including a large warning that users should understand the...

I can provide some examples that I use. Will try to do so tonight or tomorrow

> labels: > - "traefik.enable=true" > - "traefik.http.routers.app.entrypoints=https" > - "traefik.http.routers.app.tls.certresolver=http" > - "traefik.http.routers.app.rule=Host(`portainer.example.org`)" > - "traefik.http.services.app.loadbalancer.server.port=9000" > - "traefik.docker.network=proxy" Important maybe to add ``app`` in all rows is dynamic...

I guess, but adding a optional "Middleware Name" option, would make it a bit more flexible for people with weird / unconventional setups.

And those labels assume the use of subdomains for the different servers. If one would rather use subdirectories the ``"traefik.http.routers.app.rule=Host(`portainer.example.org`)"`` label would need to be quite different.

I'd love this. There is a lot of people (me included) who already have a reverse proxy setup (with traefik, caddy, nginx or something else) and for those a split...