How to add / install a plugin


(pwFoo) #1

Hi,

I would like to see / test caddy-filemanager. So how to add / install it to my caddy?

At the moment I just use prebuilded / downloadable caddy binaries.


(Matt Holt) #2

You’ll need Go installed. Then according to this page you just add an import statement in run.go:

import _ "github.com/hacdias/caddy-filemanager"

Then build Caddy (build.bash or on Windows, go build or go install) and run it and you’re good to go!


Caddy Frequently Asked Questions (FAQ)
(pwFoo) #3

Sounds simple, but this would be my first contact with Go :expressionless:


(Matt Holt) #4

We’ll have a tool out eventually to replace caddydev and caddyext so you can manage plugins without having to touch the code. But you’ll still need Go installed.


(pwFoo) #5

I think I’ll take a look into Go in the future, but also dev-builds would be nice to have :wink:


(system) closed #6

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