charts icon indicating copy to clipboard operation
charts copied to clipboard

Add Traefik addPrefix middleware

Open troyliu0105 opened this issue 3 years ago • 3 comments
trafficstars

Is your feature request related to a problem? Please describe. Currently, treafik only provide limited middlewares. If multiple services use the same hostname, and access by path. This can not be done with current release. like. https://example.com/jellyfin -> jellyfin service https://example.com/nextcloud -> nextcloud service and traefik provided addPrefix middleware which I can't find it in the middlewares settings. https://doc.traefik.io/traefik/middlewares/http/addprefix/

Describe the solution you'd like add addPrefix middleware settings

Describe alternatives you've considered maybe we could manually add some custom middlewares via docker's label field. But I also can't find it in webUI. like below: image

Additional context official traefik addPrefix middleware

troyliu0105 avatar Dec 23 '21 05:12 troyliu0105

Docker labels do not exist in kubernetes.

PrivatePuffin avatar Dec 23 '21 08:12 PrivatePuffin

addPrefix can be added in k8s this way:

Screenshot from 2022-04-05 08-54-57

Documentation here: https://doc.traefik.io/traefik/middlewares/http/addprefix/

MattInternet avatar Apr 05 '22 14:04 MattInternet

addPrefix can be added in k8s this way:

We know how things need to be added, if we need info we ask for it.

PrivatePuffin avatar Apr 05 '22 17:04 PrivatePuffin

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists

truecharts-admin avatar Feb 03 '23 13:02 truecharts-admin