mirror of
https://github.com/caddyserver/caddy.git
synced 2025-07-07 10:15:06 -04:00
Add in note to ensure that the _ is not left out. Repeated rookie mistake
parent
172809b96f
commit
6cfb6d2c8b
@ -89,6 +89,8 @@ Finally, don't forget to import your plugin's package! Caddy must import your pl
|
|||||||
import _ "your/plugin/package/here"
|
import _ "your/plugin/package/here"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
*Please Note:* The `_` after import is required.
|
||||||
|
|
||||||
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).*
|
*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