diff --git a/conf/Caddyfile b/conf/Caddyfile index b2ad83e..255323e 100644 --- a/conf/Caddyfile +++ b/conf/Caddyfile @@ -14,7 +14,7 @@ log { output stderr level WARN - exclude http.auto_https + exclude admin http.auto_https format console { time_key "" } diff --git a/fly.toml b/fly.toml index ba76143..6345005 100644 --- a/fly.toml +++ b/fly.toml @@ -18,6 +18,7 @@ cpus = 2 memory = 512 [env] +CADDY_ADMIN = ":2019" UDP_BIND_TO = "fly-global-services" ALLOW_PROXY = "172.16.0.0/16" AUTOMEMLIMIT = "0.25" @@ -80,3 +81,7 @@ path = "/" grace_period = "5s" interval = "2s" timeout = "1s" + +[metrics] +port = 2019 +path = "/metrics"