You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2017/12/15 20:54:43 UTC
[couchdb] branch master updated: Fix haproxy stats (#1039)
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/master by this push:
new 8e0e8b3 Fix haproxy stats (#1039)
8e0e8b3 is described below
commit 8e0e8b3dda1b152589bd5b8909d3489d3b733b02
Author: Geoff Cox <re...@gmail.com>
AuthorDate: Fri Dec 15 12:54:40 2017 -0800
Fix haproxy stats (#1039)
- `stats scope .` ends up blocking all backends
- Renaming endpoint from `_stats` to `_haproxy_stats` so that it doesn't collide with CouchDB's `_stats` endpoint
- Added a commented out stats auth line so that you can easily password protect
---
rel/haproxy.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rel/haproxy.cfg b/rel/haproxy.cfg
index 73ec987..45affaf 100644
--- a/rel/haproxy.cfg
+++ b/rel/haproxy.cfg
@@ -30,8 +30,8 @@ defaults
timeout connect 500
stats enable
- stats scope .
- stats uri /_stats
+ stats uri /_haproxy_stats
+ # stats auth admin:admin # Uncomment for basic auth
frontend http-in
# This requires HAProxy 1.5.x
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].