1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

add updates based on new server releases

This commit is contained in:
ainsley 2019-09-19 11:58:05 -05:00
parent 0a5eb139d0
commit 00604defaa
3 changed files with 14 additions and 10 deletions

View File

@ -101,26 +101,29 @@ authorization: {
| Property | Description | | Property | Description |
| :------ | :---- | | :------ | :---- |
| [`authorization`](auth_intro.md) | configuration map for client authentication/authorization | | [`authorization`](auth_intro.md) | Configuration map for client authentication/authorization |
| [`cluster`](cluster_config.md) | configuration map for clustering configuration | | [`cluster`](cluster_config.md) | Configuration map for clustering configuration |
| `debug` | if `true` enable debug log messages | | `connectionerrorreportattempts` | Number of attempts at which a repeated failed route, gateway or leaf node connection is reported. Default is 1 hour |
| `debug` | If `true` enable debug log messages |
| [`gateway`](/gateways/gateway.md) | Gateway configuration map | | [`gateway`](/gateways/gateway.md) | Gateway configuration map |
| `host` | host for client connections | | `host` | Host for client connections |
| [`http_port`](monitoring.md) | http port for server monitoring | | [`http_port`](monitoring.md) | http port for server monitoring |
| [`https_port`](monitoring.md) | https port for server monitoring | | [`https_port`](monitoring.md) | https port for server monitoring |
| [`leafnode`](/leafnodes/leafnode_conf.md) | Leafnode configuration map | | [`leafnode`](/leafnodes/leafnode_conf.md) | Leafnode configuration map |
| `listen` | host/port for client connections | | `listen` | Host/port for client connections |
| `max_connections` | Maximum number of active client connections | | `max_connections` | Maximum number of active client connections |
| `max_control_line` | Maximum length of a protocol line (including subject length) | | `max_control_line` | Maximum length of a protocol line (including subject length) |
| `max_payload` | Maximum number of bytes in a message payload | | `max_payload` | Maximum number of bytes in a message payload |
| `max_pending` | Maximum number of bytes buffered for a connection | | `max_pending` | Maximum number of bytes buffered for a connection |
| `max_subscriptions` | Maximum numbers of subscriptions for a client connection | | `max_subscriptions` | Maximum numbers of subscriptions for a client connection |
| [`operator`](/nats_tools/nsc/nsc.md#nats-server-configuration) | path to an operator JWT | | `maxtracedmsglen` | Set a limit to the trace of the payload of a message |
| `nosublistcache` | Disable sublist cache globally for accounts.
| [`operator`](/nats_tools/nsc/nsc.md#nats-server-configuration) | Path to an operator JWT |
| [`ping_interval`](/developer/connecting/pingpong.md) | Interval in seconds in which the server checks if a connection is active | | [`ping_interval`](/developer/connecting/pingpong.md) | Interval in seconds in which the server checks if a connection is active |
| `port` | port for client connections | | `port` | Port for client connections |
| [`resolver`](/nats_tools/nsc/nsc.md#nats-server-configuration) | Resolver type `MEMORY` or `URL` for account JWTs | | [`resolver`](/nats_tools/nsc/nsc.md#nats-server-configuration) | Resolver type `MEMORY` or `URL` for account JWTs |
| [`tls`](tls.md#tls-configuration) | configuration map for tls for client and http monitoring | | [`tls`](tls.md#tls-configuration) | Configuration map for tls for client and http monitoring |
| `trace` | if `true` enable protocol trace log messages | | `trace` | If `true` enable protocol trace log messages |
| `write_deadline` | Maximum number of seconds the server will block when writing a to a client (slow consumer) | | `write_deadline` | Maximum number of seconds the server will block when writing a to a client (slow consumer) |

View File

@ -55,6 +55,7 @@ The following flags are available on the server to configure logging:
| `-D`, `--debug` | Enable debugging output | | `-D`, `--debug` | Enable debugging output |
| `-V`, `--trace` | Enable protocol trace log messages | | `-V`, `--trace` | Enable protocol trace log messages |
| `-DV` | Enable both debug and protocol trace messages | | `-DV` | Enable both debug and protocol trace messages |
| `--max_traced_msg_len` | Maximum printable length for traced messages. 0 for unlimited|
You can read more about [logging configuration here](logging.md). You can read more about [logging configuration here](logging.md).

View File

@ -11,7 +11,7 @@ Server configuration revolves around a `tls` map, which has the following proper
| `curve_preferences` | List of TLS cipher curves to use in order. | | `curve_preferences` | List of TLS cipher curves to use in order. |
| `insecure` | Skip certificate verification. | | `insecure` | Skip certificate verification. |
| `key_file` | TLS certificate key file. | | `key_file` | TLS certificate key file. |
| `timeout` | TLS handshake timeout in fractional seconds. | | `timeout` | TLS handshake timeout in fractional seconds. Default set to 2 seconds. |
| `verify_and_map` | If `true`, require and verify client certificates and map certificate values for authentication purposes. | | `verify_and_map` | If `true`, require and verify client certificates and map certificate values for authentication purposes. |
| `verify` | If `true`, require and verify client certificates. | | `verify` | If `true`, require and verify client certificates. |