feat(client): Allow configuration of client cookie storage (#1716)
* Allow configuration of cookie storage * Update client/config.go --------- Co-authored-by: TwiN <twin@linux.com>
This commit is contained in:
1 parent
ae7ca199aa
commit
b7100620c3
3 files changed
+29
No files matched your search
@@ -654,6 +654,7 @@ the client used to send the request.
|
||||
| `client.tls.renegotiation` | Type of renegotiation support to provide. (`never`, `freely`, `once`). | `"never"` |
|
||||
| `client.network` | The network to use for ICMP endpoint client (`ip`, `ip4` or `ip6`). | `"ip"` |
|
||||
| `client.tunnel` | Name of the SSH tunnel to use for this endpoint. See [Tunneling](#tunneling). | `""` |
|
||||
| `client.store-cookies` | Whether to store cookies between requests. | `false` |
|
||||
|
||||
|
||||
> 📝 Some of these parameters are ignored based on the type of endpoint. For instance, there's no certificate involved
|
||||
@@ -666,6 +667,7 @@ client:
|
||||
insecure: false
|
||||
ignore-redirect: false
|
||||
timeout: 10s
|
||||
store-cookies: false
|
||||
```
|
||||
|
||||
Note that this configuration is only available under `endpoints[]`, `alerting.mattermost` and `alerting.custom`.
|
||||
|
||||
Reference in new issue
Block a user