From 17f90e8ccfcd472926d62e30de54f07e6cda4f16 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Mon, 29 Jun 2026 11:58:42 -0600 Subject: [PATCH 1/2] feat: enhance TLS certificate selection UI in AddDomain component - Added descriptive FormDescriptions for different TLS certificate options (None, Let's Encrypt, Custom) to improve user understanding of certificate provisioning. - Updated placeholder text for the custom certificate resolver input field to provide clearer guidance on expected input format. This update enhances the user experience by providing contextual information directly within the form. --- .../application/domains/handle-domain.tsx | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx b/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx index b232591e4b..2a29890730 100644 --- a/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx +++ b/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx @@ -763,6 +763,38 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => { Custom + + {field.value === "none" && ( + <> + None serves TLS using any + certificate you created in the{" "} + + Certificates + {" "} + section whose CN/SAN matches this host — + Traefik selects it automatically via SNI. + + )} + {field.value === "letsencrypt" && ( + <> + Let's Encrypt{" "} + auto-provisions a certificate automatically + for this host. + + )} + {field.value === "custom" && ( + <> + Custom uses a Traefik cert + resolver by name (defined in your static + configuration). + + )} + {!field.value && + "Select a certificate provider to see how TLS will be served for this host."} + ); @@ -777,10 +809,19 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => { return ( Custom Certificate Resolver + + Enter the name of a Traefik + cert resolver defined in your static + configuration (e.g. letsencrypt) — + not certificate or private key content. To use a + certificate you pasted in the Certificates + section, choose None instead + and Traefik will match it by SNI. + { From 164aaf4edcae9bc76b95682fc6cc2f243efc06b3 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 17:59:44 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- .../dashboard/application/domains/handle-domain.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx b/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx index 2a29890730..fef973ab23 100644 --- a/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx +++ b/apps/dokploy/components/dashboard/application/domains/handle-domain.tsx @@ -780,9 +780,8 @@ export const AddDomain = ({ id, type, domainId = "", children }: Props) => { )} {field.value === "letsencrypt" && ( <> - Let's Encrypt{" "} - auto-provisions a certificate automatically - for this host. + Let's Encrypt auto-provisions + a certificate automatically for this host. )} {field.value === "custom" && (