Use single acmedns account for caddy
This commit is contained in:
parent
63d62bd83f
commit
94e04be183
3 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,3 @@
|
||||||
ACMEDNS_CODER_USER=
|
ACMEDNS_USER=
|
||||||
ACMEDNS_CODER_PASS=
|
ACMEDNS_PASS=
|
||||||
ACMEDNS_CODER_SUBD=
|
ACMEDNS_SUBD=
|
||||||
|
|
|
@ -6,7 +6,7 @@ coder.serguzim.me {
|
||||||
*.coder.serguzim.me {
|
*.coder.serguzim.me {
|
||||||
import default
|
import default
|
||||||
|
|
||||||
import acmedns {$ACMEDNS_CODER_USER} {$ACMEDNS_CODER_PASS} {$ACMEDNS_CODER_SUBD}
|
import acmedns
|
||||||
|
|
||||||
reverse_proxy coder:7080
|
reverse_proxy coder:7080
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
(acmedns) {
|
(acmedns) {
|
||||||
tls {
|
tls {
|
||||||
dns acmedns {
|
dns acmedns {
|
||||||
username "{args.0}"
|
username "{$ACMEDNS_USER}"
|
||||||
password "{args.1}"
|
password "{$ACMEDNS_PASS}"
|
||||||
subdomain "{args.2}"
|
subdomain "{$ACMEDNS_SUBD}"
|
||||||
server_url https://acme.serguzim.me
|
server_url https://acme.serguzim.me
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue