Document basic auth for haproxy (#2258)

* Document basic auth for haproxy

* Typo in haproxy readme
This commit is contained in:
Mohammad Ali Alfarra 2017-01-12 16:47:01 +08:00 committed by Cameron Sparr
parent 61defd36d3
commit b277a28e15
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@
Server addresses need to explicitly start with 'http' if you wish to use HAproxy status page. Otherwise, address will be assumed to be an UNIX socket and protocol (if present) will be discarded. Server addresses need to explicitly start with 'http' if you wish to use HAproxy status page. Otherwise, address will be assumed to be an UNIX socket and protocol (if present) will be discarded.
For basic authentication you need to add username and password in the URL: `http://user:password@1.2.3.4/haproxy?stats`.
Following examples will all resolve to the same socket: Following examples will all resolve to the same socket:
``` ```
socket:/var/run/haproxy.sock socket:/var/run/haproxy.sock