mirror of
https://github.com/caddyserver/xcaddy.git
synced 2025-03-10 07:38:58 +01:00
Fix readme example... again
This commit is contained in:
parent
35c6866159
commit
1095882d94
1 changed files with 4 additions and 6 deletions
|
@ -19,13 +19,11 @@ Supports Caddy 2 and up.
|
||||||
builder := xcaddy.Builder{
|
builder := xcaddy.Builder{
|
||||||
CaddyVersion: "v2.0.0-rc.1",
|
CaddyVersion: "v2.0.0-rc.1",
|
||||||
Plugins: []xcaddy.Dependency{
|
Plugins: []xcaddy.Dependency{
|
||||||
{
|
|
||||||
{
|
{
|
||||||
ModulePath: "github.com/caddyserver/nginx-adapter",
|
ModulePath: "github.com/caddyserver/nginx-adapter",
|
||||||
Version: "bdbb6db7ff9ad6ceb0dcd93f89e396f6365aa5d4",
|
Version: "bdbb6db7ff9ad6ceb0dcd93f89e396f6365aa5d4",
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
}
|
|
||||||
}
|
}
|
||||||
err := builder.Build("./caddy")
|
err := builder.Build("./caddy")
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue