[GH-ISSUE #878] Traefik's PathPrefix supported? #317

Closed
opened 2026-02-27 08:16:37 +03:00 by kerem · 1 comment
Owner

Originally created by @habr05 on GitHub (Mar 24, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/878

Trying to configure lldap behind traefik so that I can get SSL connectivity. Everything works if I dedicate a sub.domain.tld to lldap. However, if I use PathPrefix (sub.domain.tld/lldp) I get a blank screen. Am I missing some setting or lldap does not support traefik's PathPrefix?

This is the configuration that I'm using for traefik.

labels:
  - traefik.enable=true
  - traefik.http.routers.lldap.tls.certresolver=cloudflare
  - traefik.http.routers.lldap.entrypoints=websecure
  - traefik.http.routers.lldap.rule=Host(`${FQDN}`) && PathPrefix(`/lldap`)
  - traefik.http.routers.lldap.middlewares=lldap
  - traefik.http.routers.lldap.service=lldap

  - traefik.http.middlewares.lldap.stripprefix.prefixes=/lldap

  - traefik.http.services.lldap.loadbalancer.server.port=17170
Originally created by @habr05 on GitHub (Mar 24, 2024). Original GitHub issue: https://github.com/lldap/lldap/issues/878 Trying to configure lldap behind traefik so that I can get SSL connectivity. Everything works if I dedicate a sub.domain.tld to lldap. However, if I use PathPrefix (sub.domain.tld/lldp) I get a blank screen. Am I missing some setting or lldap does not support traefik's PathPrefix? This is the configuration that I'm using for traefik. labels: - traefik.enable=true - traefik.http.routers.lldap.tls.certresolver=cloudflare - traefik.http.routers.lldap.entrypoints=websecure - traefik.http.routers.lldap.rule=Host(`${FQDN}`) && PathPrefix(`/lldap`) - traefik.http.routers.lldap.middlewares=lldap - traefik.http.routers.lldap.service=lldap - traefik.http.middlewares.lldap.stripprefix.prefixes=/lldap - traefik.http.services.lldap.loadbalancer.server.port=17170
kerem closed this issue 2026-02-27 08:16:37 +03:00
Author
Owner

@nitnelave commented on GitHub (Mar 24, 2024):

See https://github.com/lldap/lldap/issues/870

But also, in terms of security, subdomains are highly recommended vs a subpath

<!-- gh-comment-id:2016711845 --> @nitnelave commented on GitHub (Mar 24, 2024): See https://github.com/lldap/lldap/issues/870 But also, in terms of security, subdomains are highly recommended vs a subpath
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#317
No description provided.