Ver código fonte

auto update script executed

Toby Chui 1 ano atrás
pai
commit
de106c6c24
1 arquivos alterados com 1 adições e 1 exclusões
  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) {