Skip to content

Commit 5be95a5

Browse files
committed
fix: increase dns challenge timeout settings and use cloudflare dns
1 parent 1f713fe commit 5be95a5

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

Diff for: Caddyfile.cluster

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
auth_password "{$CLOUDNS_AUTH_PASSWORD}"
99
}
1010

11+
acme_ca https://acme-v02.api.letsencrypt.org/directory {
12+
dns_challenge {
13+
propagation_timeout 120s
14+
dns_timeout 30s
15+
resolvers 1.1.1.1
16+
}
17+
}
18+
1119
# Configure storage for clustering
1220
storage etcd {
1321
prefix "{$PORTAL_CORE_CLUSTERED_ETCD_PREFIX}"
@@ -36,4 +44,4 @@
3644
# Handle direct domain access
3745
:80, :443 {
3846
reverse_proxy localhost:{$PORTAL_CORE_PORT}
39-
}
47+
}

Diff for: Caddyfile.cluster.notls

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
auth_password "{$CLOUDNS_AUTH_PASSWORD}"
99
}
1010

11+
acme_ca https://acme-v02.api.letsencrypt.org/directory {
12+
dns_challenge {
13+
propagation_timeout 120s
14+
dns_timeout 30s
15+
resolvers 1.1.1.1
16+
}
17+
}
18+
1119
# Configure storage for clustering
1220
storage etcd {
1321
prefix "{$PORTAL_CORE_CLUSTERED_ETCD_PREFIX}"
@@ -30,4 +38,4 @@
3038
# Handle direct domain access
3139
:80, :443 {
3240
reverse_proxy localhost:{$PORTAL_CORE_PORT}
33-
}
41+
}

0 commit comments

Comments
 (0)