abiosoft / caddy-docker

Docker container for Caddy
https://hub.docker.com/r/abiosoft/caddy/
MIT License
766 stars 314 forks source link

How to add custom (self-made) plugin. #242

Open ghost opened 4 years ago

ghost commented 4 years ago

I wrote a plugin for my needs (didn't publish it to Caddy website). Right now I have myplugin.go file.

How can I add my plugin to Caddy (to this image)? Where do I have to put myplugin.go file and how to compile it?

Thank you for this image :)