Hello guys,
I have tried to use supervisor plugin to set env, doesn’t work. The goal was set different EMAIL and APIKEY to different websites/accounts into Cloudflare.
When I use only one CF account into caddy.service, for example, exerything works like a charm. But I have different domains in different CF accounts.
/etc/caddy/cloudflare.Caddyfile:13 - Error during parsing: Wrong argument count or unexpected line ending after '_myapikey_hidden_of_course_'
caddy.service: Main process exited, code=exited, status=1/FAILURE
caddy.service: Failed with result 'exit-code'.
My cloudflare.Caddyfile imported into Caddyfile
(cf_tls) {
tls {
dns cloudflare my@email.hidden my_api_37_chars_hidden
}
}
Edit: I have tried to not use snippets and insert the tls directly, doesn’t work also.