Merge pull request #556 from nats-io/doc-string-escape

Document string escape behavior [ci skip]
This commit is contained in:
Peter Miron
2017-08-16 12:16:36 -04:00
committed by GitHub

View File

@@ -249,6 +249,8 @@ max_control_line: 512
max_payload: 65536 max_payload: 65536
``` ```
Inside configuration files, string values support the following escape characters: `\xXX, \t, \n, \r, \", \\`. Take note that when specifying directory paths in options such as `pid_file` and `log_file` on Windows, you'll need to escape backslashes, e.g. `log_file: "c:\\logging\\log.txt"`, or use unix style (`/`) path separators.
## Variables ## Variables
The NATS sever configuration language supports block-scoped variables that can be used for templating in the configuration file, and specifically to ease setting of group values for [permission fields](#authorization) and [user authentication](#authentication). The NATS sever configuration language supports block-scoped variables that can be used for templating in the configuration file, and specifically to ease setting of group values for [permission fields](#authorization) and [user authentication](#authentication).