Honor bind directive for ACME challenges

Fixes https://forum.caddyserver.com/t/basic-caddy-installation-failing-on-automatic-https/472?u=matt
This commit is contained in:
Matthew Holt
2016-08-15 12:08:51 -06:00
parent 45ac11088e
commit 454b1e3939
2 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -332,8 +332,8 @@ func standardizeAddress(str string) (Address, error) {
var directives = []string{
// primitive actions that set up the fundamental vitals of each config
"root",
"tls",
"bind",
"tls",
// services/utilities, or other directives that don't necessarily inject handlers
"startup",