Change `tls ca` to `tls acme_ca`
Make it clear it's about ACME.
This commit is contained in:
parent
e3ac31414f
commit
e2f4dddfef
2
main.go
2
main.go
|
@ -120,7 +120,7 @@ func parseBackend(backend *Backend, d *Directive) error {
|
||||||
func parseTLS(srv *Server, d *Directive) error {
|
func parseTLS(srv *Server, d *Directive) error {
|
||||||
for _, child := range d.Children {
|
for _, child := range d.Children {
|
||||||
switch child.Name {
|
switch child.Name {
|
||||||
case "ca":
|
case "acme_ca":
|
||||||
var caURL string
|
var caURL string
|
||||||
if err := child.ParseParams(&caURL); err != nil {
|
if err := child.ParseParams(&caURL); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue