Skip to content

Error: ambiguous config file format; please specify adapter (use --adapter) since 2.8.2 #6363

@foux

Description

@foux

Hello,
Since 2.8.2 my Caddy doesn't starts with the error Error: ambiguous config file format; please specify adapter (use --adapter)

I get the meaning of the error and why I get it (Caddy couldn't detect the language without ambiguities). What I'm not getting is how I can pass the Adapter option.
I'm running Caddy on debian through systemd, and is there a way to pass this adatper without having to override the systemd unit file (for exemple an entry in the Caddyfile itself) ?

Thanks for your help. Here is my current very simple Caddyfile :

my.fdn.site {
        reverse_proxy 127.0.0.1:8080
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐞Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions