From fcad4740649c391e2f3b99d7798716dfa8424068 Mon Sep 17 00:00:00 2001 From: Matthew Holt <mholt@users.noreply.github.com> Date: Tue, 20 Sep 2016 14:29:17 -0600 Subject: [PATCH] Move prometheus directive higher in list (closes #1119) --- caddyhttp/httpserver/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index 2f89fafe0..4101374ed 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -423,6 +423,7 @@ var directives = []string{ "internal", "pprof", "expvar", + "prometheus", // github.com/miekg/caddy-prometheus "proxy", "fastcgi", "websocket", @@ -432,7 +433,6 @@ var directives = []string{ "filemanager", // github.com/hacdias/caddy-filemanager "hugo", // github.com/hacdias/caddy-hugo "mailout", // github.com/SchumacherFM/mailout - "prometheus", // github.com/miekg/caddy-prometheus "awslambda", // github.com/coopernurse/caddy-awslambda }