summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2016-09-20 14:29:17 -0600
committerMatthew Holt <[email protected]>2016-09-20 14:29:32 -0600
commitfcad4740649c391e2f3b99d7798716dfa8424068 (patch)
tree9854decbfda0f65e7647435639262b06f7afb20d
parent4449d3dcd9aa050aed961e84c0e06ffd0f6a8fe4 (diff)
downloadcaddy-fcad4740649c391e2f3b99d7798716dfa8424068.tar.gz
caddy-fcad4740649c391e2f3b99d7798716dfa8424068.zip
Move prometheus directive higher in list (closes #1119)
-rw-r--r--caddyhttp/httpserver/plugin.go2
1 files changed, 1 insertions, 1 deletions
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
}