Skip to content

Allow specifying a custom top-level label key for the caddy proxy #7812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 23, 2025

Conversation

CiTroNaK
Copy link
Contributor

What

Allow to set a custom label key (caddy by default) per app for Caddy Proxy.

Why

For more complex Caddy configurations, it may be necessary to set a different key.

Example: https://github.com/lucaslorentz/caddy-docker-proxy/wiki/Use-on_demand_tls

How

A new set option called label-key, which can be used per app.

The caddy value is used by default to prevent issues for existing configurations.

I was unable to run tests locally, but I tried it on an existing dokku server with a Caddy proxy set.

@josegonzalez josegonzalez changed the base branch from master to 0.36-release July 23, 2025 18:47
@josegonzalez josegonzalez force-pushed the feat/dokku-caddy-label-key branch from e789fff to acf2c85 Compare July 23, 2025 18:49
@josegonzalez josegonzalez changed the title feat(caddy-proxy): custom label key Allow specifying a custom top-level label key for the caddy proxy Jul 23, 2025
@josegonzalez josegonzalez merged commit 3116880 into dokku:0.36-release Jul 23, 2025
91 of 92 checks passed
@CiTroNaK CiTroNaK deleted the feat/dokku-caddy-label-key branch July 23, 2025 19:59
@josegonzalez josegonzalez mentioned this pull request Jul 24, 2025
@josegonzalez josegonzalez added this to the v0.36.0 milestone Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants