diff options
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/autohttps.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/autohttps.go b/modules/caddyhttp/autohttps.go index ecb988a..44cf581 100644 --- a/modules/caddyhttp/autohttps.go +++ b/modules/caddyhttp/autohttps.go @@ -339,7 +339,7 @@ uniqueDomainsLoop: } redirTo += "{http.request.uri}" routes = append(routes, Route{ - MatcherSets: []MatcherSet{MatcherSet{MatchProtocol("http")}}, + MatcherSets: []MatcherSet{{MatchProtocol("http")}}, Handlers: []MiddlewareHandler{ StaticResponse{ StatusCode: WeakString(strconv.Itoa(http.StatusPermanentRedirect)), |