Skip to content

docs(traefik): add custom middlewares guide#523

Open
Cinzya wants to merge 3 commits intocoollabsio:nextfrom
Cinzya:traefik-middleware
Open

docs(traefik): add custom middlewares guide#523
Cinzya wants to merge 3 commits intocoollabsio:nextfrom
Cinzya:traefik-middleware

Conversation

@Cinzya
Copy link
Member

@Cinzya Cinzya commented Feb 14, 2026

Summary

  • Add a new Custom Middlewares guide covering how to apply custom Traefik middlewares to Coolify applications (standard apps via Container Labels and Docker Compose via coolify.traefik.middlewares shorthand), including external @file middleware references, common examples with links to Traefik docs, label escaping, and troubleshooting.
  • Update the Redirects guide to document Coolify's built-in Direction dropdown for www/non-www redirects, add coolify.traefik.middlewares usage for Docker Compose, and fix $ escaping in YAML examples.
  • Nest Redirects under Custom Middlewares in the sidebar and update the Traefik Overview page.

Addresses coollabsio/coolify#7869

Test plan

  • Verify example code
  • Confirm sidebar renders correctly with nested Custom Middlewares > Redirects
  • Test internal links between custom-middlewares.md and redirects.md
  • Verify external Traefik doc links resolve correctly

🤖 Generated with Claude Code

Cinzya and others added 3 commits February 14, 2026 19:54
Covers applying custom Traefik middlewares to Coolify applications,
including standard apps (manual label editing), Docker Compose services
(coolify.traefik.middlewares shorthand), external @file middlewares,
common examples, label escaping, and troubleshooting.

Addresses coollabsio/coolify#7869

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add documentation for Coolify's built-in www/non-www Direction dropdown.
Restructure page to separate built-in vs manual configuration. Add
coolify.traefik.middlewares shorthand to Docker Compose examples and
fix dollar sign escaping in YAML snippets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Nest Redirects as a child of Custom Middlewares in the sidebar. Add
Custom Middlewares to the Traefik overview feature list and remove
the standalone Redirects entry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant