Skip to content

Commit 50f9e60

Browse files
authored
update install docs (#2)
Describe install instructions for compile-time configuration file
1 parent d1bf8fd commit 50f9e60

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ External CoreDNS plugins can be enabled in one of two ways:
88
1. [Build with compile-time configuration file](https://coredns.io/2017/07/25/compile-time-enabling-or-disabling-plugins/#build-with-compile-time-configuration-file)
99
2. [Build with external golang source code](https://coredns.io/2017/07/25/compile-time-enabling-or-disabling-plugins/#build-with-external-golang-source-code)
1010

11+
Method #1 can be quickly described using a sequence of the following commands:
12+
13+
```
14+
git clone --depth 1 https://github.com/coredns/coredns.git
15+
cd coredns
16+
go get github.com/v-byte-cpu/coredns-https
17+
echo "https:github.com/v-byte-cpu/coredns-https" >> plugin.cfg
18+
go generate
19+
go mod tidy -compat=1.17
20+
go build
21+
```
22+
1123
## Syntax
1224

1325
In its most basic form:

0 commit comments

Comments
 (0)