Use single acmedns account for caddy

This commit is contained in:
Tobias Reisinger 2023-06-21 02:00:20 +02:00
parent 63d62bd83f
commit 94e04be183
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,3 @@
ACMEDNS_CODER_USER= ACMEDNS_USER=
ACMEDNS_CODER_PASS= ACMEDNS_PASS=
ACMEDNS_CODER_SUBD= ACMEDNS_SUBD=

View file

@ -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
} }

View file

@ -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
} }
} }