Mega noob struggling to configure Caddy 2

1. The problem I’m having:

I am trying to configure Caddy 2 via the home assistant add-on to access my mealie integration via HTTPS. Get the error below.

2. Error messages and/or full log output:

adapting config using caddyfile: parsing caddyfile tokens for 'tls': getting module named 'dns.providers.duckdns': module not registered: dns.providers.duckdns, at /share/caddy/Caddyfile:7

3. Caddy version:

Current version: 1.5.4

4. How I installed and ran Caddy:

a. System environment:

Home Assitant add-on

b. Command:

N/A

c. Service/unit/compose file:

N/A

d. My complete Caddy config:

{
    email myemail@gmail.com
}

mydomain.duckdns.org {
    tls {
        dns duckdns mytoken
    }
    reverse_proxy https://192.168.1.105:9090
}

5. Links to relevant resources:

Make sure you download Caddy with the duckdns plugin selected in the list: Download Caddy

Is this possible when using the home assistant add-on?

You’ll need to ask for help from the add-on’s author. We can’t really help with unofficial installation methods. They can reach out to us if they need help with adapting their installation method though.

Ok thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.