Skip to content

docs(proxy): update wildcard SSL cert config and add syntax highlights#569

Open
Cinzya wants to merge 3 commits intocoollabsio:nextfrom
Cinzya:wildcard-certs
Open

docs(proxy): update wildcard SSL cert config and add syntax highlights#569
Cinzya wants to merge 3 commits intocoollabsio:nextfrom
Cinzya:wildcard-certs

Conversation

@Cinzya
Copy link
Copy Markdown
Member

@Cinzya Cinzya commented Apr 5, 2026

Summary

  • Updated the Traefik proxy config in the wildcard SSL certificate guide to match the current Coolify default
  • Replaced container labels in the Normal section with domain configuration screenshots
  • Reordered application labels in the SaaS sections to match the order Coolify generates them and added code highlights on important lines
  • Added a custom Shiki language (traefik) via a TextMate grammar so Traefik Docker label blocks gets custom syntax highlighting: distinct colors for keys, values, <placeholder> tokens, and backtick-enclosed host/path strings. Uses # as the comment character so all VitePress code annotations ([!code focus], [!code --], [!code ++]) work correctly.
  • Removed padding and margin overrides from the code block theme CSS that were causing diff lines +/- signs to overlap with the code text.

Test plan

  • Dev server builds without "language not found" warnings for traefik blocks
  • [!code focus] blurs non-focused lines in traefik code blocks
  • [!code --] / [!code ++] renders red/green diff colors without text misalignment or sign overlap
  • Backtick values (e.g. `example.coolify.io`) render in a distinct color from keys and plain values
  • <unique_router_name> placeholders render in a distinct color
  • Existing code blocks in other pages are unaffected by the CSS change

Cinzya and others added 3 commits April 6, 2026 01:09
Updated the Traefik proxy config to match the current default (HTTP/3,
HTTP/2 concurrency limits, Compose v2 name field, coolify labels). Added
[!code focus/diff] annotations to highlight wildcard-specific lines vs
the default config. Reordered application labels to match Coolify output
order and removed non-wildcard-specific middleware definitions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removed padding and margin overrides on code block elements that were
breaking VitePress's diff line alignment. The diff CSS assumes the
default padding: 0 24px on code elements; zeroing it out caused diff
lines to indent 24px relative to normal lines and placed the +/- sign
inside the code text.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Added a custom TextMate grammar for Traefik Docker labels, registered as
the 'traefik' language in Shiki via markdown.languages. Highlights keys,
values, <placeholders>, and backtick-enclosed host/path values in
distinct colors. Uses # as the comment character so VitePress [!code
focus/diff] annotations work correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the ✨ Maintainer PR author is a maintainer of this repository label Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ Maintainer PR author is a maintainer of this repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant