Skip to content

Commit 09fb8d2

Browse files
committed
feat: Add CloudNS SSL support with env vars to clustered version
1 parent 3243c02 commit 09fb8d2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Diff for: Caddyfile

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
server_name "{$PORTAL_CORE_CLUSTERED_ETCD_TLS_SERVER_NAME}"
2121
}
2222
}
23+
24+
# Configure global TLS settings
25+
acme_dns cloudns {
26+
auth_id "{$CLOUDNS_AUTH_ID}"
27+
auth_password "{$CLOUDNS_AUTH_PASSWORD}"
28+
}
2329
}
2430

2531
# Handle all domains matching the PORTAL_CORE_DOMAIN

Diff for: Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM caddy:2.9-builder AS builder
22

33
RUN xcaddy build \
4-
--with go.lumeweb.com/caddy-etcd
4+
--with go.lumeweb.com/caddy-etcd \
5+
--with github.com/anxuanzi/caddy-dns-ClouDNS.git \
56

67
FROM caddy:2.9-alpine
78

0 commit comments

Comments
 (0)