mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-09 03:04:57 -04:00
Updated Writing a Plugin: Directives (markdown)
parent
3ded4e940b
commit
92360268bb
@ -86,4 +86,6 @@ Finally, don't forget to import your plugin's package! Caddy must import your pl
|
||||
import _ "your/plugin/package/here"
|
||||
```
|
||||
|
||||
That's it! Build caddy with your plugin, then write a Caddyfile with your new directive to see it in action.
|
||||
That's it! Build caddy with your plugin, then write a Caddyfile with your new directive to see it in action.
|
||||
|
||||
*If you are writing an HTTP middleware, [continue to the next page](https://github.com/mholt/caddy/wiki/Writing-a-Plugin:-HTTP-Middleware).*
|
Loading…
x
Reference in New Issue
Block a user