diff --git a/README.md b/README.md index f35ed03..c7c56d0 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ iptables_packages: loadbalancer_ip: "1.2.3.4" ``` -In most of cases, you'd want to change PostgreSQL parameters (we recommend to use with "Online transaction processing system" preset as sane defaults), so you can do it using `postgres_arguments` variable, eg: +In most of a cases, you'd want to change PostgreSQL parameters (we recommend to use with "Online transaction processing system" preset as sane defaults), so you can do it using `postgres_arguments` variable, eg: ```yaml postgres_arguments: @@ -66,17 +66,16 @@ postgres_arguments: - -c ``` -We recommend using pgtune [online] or [self-hosted](https://github.com/le0pard/pgtune) version with with "Online transaction processing system" preset as a good starting point for generating optimal config for your hardware. +We recommend using pgtune [online] or [self-hosted](https://github.com/le0pard/pgtune) version with "Online transaction processing system" preset as a good starting point for generating optimal config for your hardware. -If you want to set basic auth for inbound requests, You can do it by configuring next variables: +If you want to use basic auth for inbound requests, you have to change next variables: ```yaml # Enable basic auth for external node enable_basic_auth: true basic_auth_secret: "htpasswd-generated-secret" ``` -Basic auth secret can be generated by next command: - -`echo $(htpasswd -nb ) | sed -e s/\\$/\\$\\$/g` +Basic auth secret can be generated by `htpasswd` and `sed` for interpolation: +```echo $(htpasswd -nb ) | sed -e s/\\$/\\$\\$/g``` ## Step-by-step guide