Explorar o código

auto update script executed

Toby Chui hai 1 ano
pai
achega
de106c6c24
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      acme.go

+ 1 - 1
acme.go

@@ -48,7 +48,7 @@ func acmeRegisterSpecialRoutingRule() {
 	err := dynamicProxyRouter.AddRoutingRules(&dynamicproxy.RoutingRule{
 		ID: "acme-autorenew",
 		MatchRule: func(r *http.Request) bool {
-			found, _ := regexp.MatchString("/.well-known/*", r.RequestURI)
+			found, _ := regexp.MatchString("/.well-known/acme-challenge/*", r.RequestURI)
 			return found
 		},
 		RoutingHandler: func(w http.ResponseWriter, r *http.Request) {