Procházet zdrojové kódy

auto update script executed

Toby Chui před 1 rokem
rodič
revize
de106c6c24
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {