pascalandy / docker-stack-this

A Docker Stack that just work. With Traefik, Socat, Portainer, Nginx, Caddy, Whoami
Other
166 stars 26 forks source link

Need URL rewrite to add trailing slash #10

Closed pascalandy closed 5 years ago

pascalandy commented 6 years ago

Need to try this solution

https://github.com/containous/traefik/issues/563#issuecomment-382960068

hartzell commented 6 years ago

Go for it! It comes with a full money-back guarantee (too bad markdown doesn't support the <blink> tag...)!

But seriously, this is tricksier than I've ever gotten with Traefik, I'd love feedback. You can do an analogous, static trick in the traefik.toml.

pascalandy commented 6 years ago

Thanks for jumping in :) Do you have a traefik.toml example as well ?

hartzell commented 6 years ago

Dropped it over in containous/traefik#563.

hartzell commented 6 years ago

I just reread this and realized that I miss-understood you (I think). I copied the traefik.toml that I've been using to containous/traefik#563. If you meant, do I have a traefik.toml that does an analogous trick, statically, then no (not finished). I screwed around with it but never finished the thought.

pascalandy commented 6 years ago

Ok thanks! I didn't tried it yet.

pascalandy commented 5 years ago

Fixed here: https://github.com/pascalandy/docker-stack-this/blob/1.53/traefik_stack5/toolportainer.yml#L38