Skip to content

Commit aadd540

Browse files
authored
Merge pull request #315 from consideRatio/pr/metrics-docs
readme: update --help output
2 parents 9196b53 + 8db6256 commit aadd540

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Options:
114114
--ssl-ca <ca-file> SSL certificate authority, if any
115115
--ssl-request-cert Request SSL certs to authenticate clients
116116
--ssl-reject-unauthorized Reject unauthorized SSL connections (only meaningful if --ssl-request-cert is given)
117-
--ssl-protocol <ssl-protocol> Set specific SSL protocol, e.g. TLSv1.2, SSLv3
117+
--ssl-protocol <ssl-protocol> Set specific SSL protocol, e.g. TLSv1_2, SSLv3
118118
--ssl-ciphers <ciphers> `:`-separated ssl cipher list. Default excludes RC4
119119
--ssl-allow-rc4 Allow RC4 cipher for SSL (disabled by default)
120120
--ssl-dhparam <dhparam-file> SSL Diffie-Helman Parameters pem file, if any
@@ -142,18 +142,16 @@ Options:
142142
--auto-rewrite Rewrite the Location header host/port in redirect responses
143143
--change-origin Changes the origin of the host header to the target URL
144144
--protocol-rewrite <proto> Rewrite the Location header protocol in redirect responses to the specified protocol
145-
--custom-header <header> Custom header to add to proxied requests. Use same option for multiple headers (--custom-header k1:v1 --custom-header k2:v2)
146-
(default: [])
145+
--custom-header <header> Custom header to add to proxied requests. Use same option for multiple headers (--custom-header k1:v1 --custom-header k2:v2) (default: {})
147146
--insecure Disable SSL cert verification
148147
--host-routing Use host routing (host as first level of path)
149-
--statsd-host <host> Host to send statsd statistics to
150-
--statsd-port <port> Port to send statsd statistics to
151-
--statsd-prefix <prefix> Prefix to use for statsd statistics
148+
--metrics-ip <ip> IP for metrics server (default: "0.0.0.0")
149+
--metrics-port <n> Port of metrics server. Defaults to no metrics server
152150
--log-level <loglevel> Log level (debug, info, warn, error) (default: "info")
153151
--timeout <n> Timeout (in millis) when proxy drops connection for a request.
154152
--proxy-timeout <n> Timeout (in millis) when proxy receives no response from target.
155153
--storage-backend <storage-class> Define an external storage class. Defaults to in-MemoryStore.
156-
-h, --help output usage information
154+
-h, --help display help for command
157155
```
158156

159157
[**Return to top**][]

0 commit comments

Comments
 (0)