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_CODER_PASS=
|
||||
ACMEDNS_CODER_SUBD=
|
||||
ACMEDNS_USER=
|
||||
ACMEDNS_PASS=
|
||||
ACMEDNS_SUBD=
|
||||
|
|
|
@ -6,7 +6,7 @@ coder.serguzim.me {
|
|||
*.coder.serguzim.me {
|
||||
import default
|
||||
|
||||
import acmedns {$ACMEDNS_CODER_USER} {$ACMEDNS_CODER_PASS} {$ACMEDNS_CODER_SUBD}
|
||||
import acmedns
|
||||
|
||||
reverse_proxy coder:7080
|
||||
}
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
(acmedns) {
|
||||
tls {
|
||||
dns acmedns {
|
||||
username "{args.0}"
|
||||
password "{args.1}"
|
||||
subdomain "{args.2}"
|
||||
username "{$ACMEDNS_USER}"
|
||||
password "{$ACMEDNS_PASS}"
|
||||
subdomain "{$ACMEDNS_SUBD}"
|
||||
server_url https://acme.serguzim.me
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue