Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caddyv2 with tencentcloud hit unrecognized directive: secret_id error #6

Open
jibwf opened this issue Dec 7, 2024 · 0 comments
Open

Comments

@jibwf
Copy link

jibwf commented Dec 7, 2024

  1. add-package tencentcloud

  2. my caddy file

acme_dns tencentcloud {
secret_id {AK}
secret_key {nS}
}

*.a.fun {

@server-1 host b.a.fun:588
handle @server-1{
reverse_proxy http://127.0.0.1:80}

But the docker cannot up and report below error.

{"level":"info","ts":1733581848.9919307,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
Error: adapting config using caddyfile: /etc/caddy/Caddyfile:4: unrecognized directive: secret_id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant