From 1548809b7da9794a21beeb8361096afb39198e8d Mon Sep 17 00:00:00 2001 From: Angira Kekteeva Date: Mon, 23 Aug 2021 22:13:56 +0300 Subject: [PATCH] [#226] docs: Replace 'HTTP_' by 'S3_' Signed-off-by: Angira Kekteeva --- docs/configuration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 44934fc5..22a7d69c 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -16,8 +16,8 @@ If you want some specific load distribution proportions, use weights, but keep i can only be specified via environment variables: ``` -$ HTTP_GW_PEERS_0_ADDRESS=192.168.130.72:8080 HTTP_GW_PEERS_0_WEIGHT=9 \ - HTTP_GW_PEERS_1_ADDRESS=192.168.130.71:8080 HTTP_GW_PEERS_1_WEIGHT=1 neofs-s3-gw +$ S3_GW_PEERS_0_ADDRESS=192.168.130.72:8080 S3_GW_PEERS_0_WEIGHT=9 \ + S3_GW_PEERS_1_ADDRESS=192.168.130.71:8080 S3_GW_PEERS_1_WEIGHT=1 neofs-s3-gw ``` This command will make gateway use 192.168.130.72 for 90% of the requests and 192.168.130.71 for the remaining 10%. @@ -51,7 +51,7 @@ $ neofs-s3-gw --listen_address 192.168.130.130:443 \ Pprof and Prometheus are integrated into the gateway, but not enabled by default. To enable them, use `--pprof` and `--metrics` flags or -`HTTP_GW_PPROF`/`HTTP_GW_METRICS` environment variables. +`S3_GW_PPROF`/`S3_GW_METRICS` environment variables. ## Yaml file Configuration file is optional and can be used instead of environment variables/other parameters.