We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 614d502 commit 182538fCopy full SHA for 182538f
acme/autocert/example_test.go
@@ -24,7 +24,7 @@ func ExampleManager() {
24
m := &autocert.Manager{
25
Cache: autocert.DirCache("secret-dir"),
26
Prompt: autocert.AcceptTOS,
27
- HostPolicy: autocert.HostWhitelist("example.org"),
+ HostPolicy: autocert.HostWhitelist("example.org", "www.example.org"),
28
}
29
s := &http.Server{
30
Addr: ":https",
0 commit comments