Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion custom-domain/dstack-ingress/scripts/certman.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,10 @@ def _build_certbot_command(self, action: str, domain: str, email: str) -> List[s
if os.environ.get("CERTBOT_STAGING", "false") == "true":
base_cmd.extend(["--staging"])

base_cmd.extend(["--dns-cloudflare-propagation-seconds=120"])
if getattr(self.provider, 'CERTBOT_PROPAGATION_SECONDS'):
propagation_seconds = self.provider.CERTBOT_PROPAGATION_SECONDS
propagation_param = f"--dns-{self.provider_type}-propagation-seconds={propagation_seconds}"
base_cmd.extend([propagation_param])

# Log command with masked email for debugging
masked_cmd = [arg if not (i > 0 and base_cmd[i-1] == "--email") else "<email>"
Expand Down
Loading