Skip to content

Commit 4dee088

Browse files
simonpasquiergotjosh
authored andcommitted
docs: document the new proxy-related settings
The version of `github.com/prometheus/common` imported by Alertmanager adds several fields to the `http_config` and `oauth2` structs for setting proxy parameters: * `no_proxy` * `proxy_from_environment` * `proxy_connect_header` Signed-off-by: Simon Pasquier <[email protected]>
1 parent 3d0739f commit 4dee088

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/configuration.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,15 @@ oauth2:
557557

558558
# Optional proxy URL.
559559
[ proxy_url: <string> ]
560+
# Comma-separated string that can contain IPs, CIDR notation, domain names
561+
# that should be excluded from proxying. IP and domain names can
562+
# contain port numbers.
563+
[ no_proxy: <string> ]
564+
# Use proxy URL indicated by environment variables (HTTP_PROXY, https_proxy, HTTPs_PROXY, https_proxy, and no_proxy)
565+
[ proxy_from_environment: <boolean> | default: false ]
566+
# Specifies headers to send to proxies during CONNECT requests.
567+
[ proxy_connect_header:
568+
[ <string>: [<secret>, ...] ] ]
560569

561570
# Configure whether HTTP requests follow HTTP 3xx redirects.
562571
[ follow_redirects: <bool> | default = true ]
@@ -597,6 +606,15 @@ tls_config:
597606

598607
# Optional proxy URL.
599608
[ proxy_url: <string> ]
609+
# Comma-separated string that can contain IPs, CIDR notation, domain names
610+
# that should be excluded from proxying. IP and domain names can
611+
# contain port numbers.
612+
[ no_proxy: <string> ]
613+
# Use proxy URL indicated by environment variables (HTTP_PROXY, https_proxy, HTTPs_PROXY, https_proxy, and no_proxy)
614+
[ proxy_from_environment: <boolean> | default: false ]
615+
# Specifies headers to send to proxies during CONNECT requests.
616+
[ proxy_connect_header:
617+
[ <string>: [<secret>, ...] ] ]
600618
```
601619
602620
#### `<tls_config>`

0 commit comments

Comments
 (0)