From e3f7fe3c87a1611822b4fa0902dd0645765fc5b7 Mon Sep 17 00:00:00 2001 From: otani Date: Thu, 7 Mar 2024 09:50:05 +0200 Subject: [PATCH] update doc --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index be5e312..8dcd88a 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,17 @@ postgres_arguments: 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. +If you want to set basic auth for inbound requests, You can do it by configure next variables: +```yaml +# Enable basic auth for external node +enable_basic_auth: false +basic_auth_username: "" # basic auth username +basic_auth_secret: "" # basic auth secret +``` +Basic auth secret can be generated by next command: + +`echo $(htpasswd -nb ) | sed -e s/\\$/\\$\\$/g` + ## Step-by-step guide 1. Install ansible collection on your machine from where you will run ansible: