Skip to content

Improvement: documentation for custom plugins #232

@RecuencoJones

Description

@RecuencoJones

I was just trying to build caddy binary with a custom set of plugins, but got stuck with the invalid import path "" error.

Looks like most of us are trying to use the qualified name of the plugin instead of just the last part of it (#108 (comment)). I.e:

RUN VERSION="1.0.3" \
    PLUGINS="http.prometheus" \
    ENABLE_TELEMETRY="false" \
    /bin/sh /usr/bin/builder.sh

Should actually be:

RUN VERSION="1.0.3" \
    PLUGINS="prometheus" \
    ENABLE_TELEMETRY="false" \
    /bin/sh /usr/bin/builder.sh

Can we add something to the documentation to avoid this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions