Skip to content

Commit

Permalink
Refine Settings: http backend section formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
moisseev committed Dec 10, 2024
1 parent 7436cdc commit fd59c83
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/modules/metadata_exporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ The following settings can be defined on any rule:

### Settings: `http` backend

- `url` (required): defines URL to post content to
- `meta_header_prefix`: prefix for meta headers (default: 'X-Rspamd-')
- `meta_headers`: if set true general metainformation is added to HTTP request headers (default: false)
- `mime_type`: defines mime type of content sent in HTTP POST
- `user` & `password`: if both parameters set - Basic auth will be used
- `gzip` (bool): defines if payload need to be send with gzip compression (default: false)
- `keepalived` (bool): defines if connection should use keepalived (default: false)
- `url` (required): defines the URL to post content to
- `meta_header_prefix`: prefix for meta headers (default: `'X-Rspamd-'`)
- `meta_headers` (bool): if set to `true`, general metadata is added to HTTP request headers (default: `false`)
- `mime_type`: defines the MIME type of the content sent in the HTTP POST
- `user` & `password`: if both parameters are set, Basic authentication will be used
- `gzip` (bool): specifies whether the payload needs to be sent with gzip compression (default: `false`)
- `keepalived` (bool): specifies whether the connection should use keepalived (default: `false`)

### Settings: `redis_pubsub` backend

Expand Down

0 comments on commit fd59c83

Please sign in to comment.