From 453077808d18cbf27cbc37c2743025d0b951105b Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 28 Aug 2023 09:27:45 +0200 Subject: [PATCH] docs/vmauth.md: consistently prepend command-line flags with a single `-` --- app/vmauth/README.md | 4 ++-- docs/vmauth.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/vmauth/README.md b/app/vmauth/README.md index 7959e1c04..dea54e0e8 100644 --- a/app/vmauth/README.md +++ b/app/vmauth/README.md @@ -244,8 +244,8 @@ Alternatively, [https termination proxy](https://en.wikipedia.org/wiki/TLS_termi It is recommended protecting the following endpoints with authKeys: * `/-/reload` with `-reloadAuthKey` command-line flag, so external users couldn't trigger config reload. * `/flags` with `-flagsAuthKey` command-line flag, so unauthorized users couldn't get application command-line flags. -* `/metrics` with `metricsAuthKey` command-line flag, so unauthorized users couldn't get access to [vmauth metrics](#monitoring). -* `/debug/pprof` with `pprofAuthKey` command-line flag, so unauthorized users couldn't get access to [profiling information](#profiling). +* `/metrics` with `-metricsAuthKey` command-line flag, so unauthorized users couldn't get access to [vmauth metrics](#monitoring). +* `/debug/pprof` with `-pprofAuthKey` command-line flag, so unauthorized users couldn't get access to [profiling information](#profiling). `vmauth` also supports the ability to restrict access by IP - see [these docs](#ip-filters). See also [concurrency limiting docs](#concurrency-limiting). diff --git a/docs/vmauth.md b/docs/vmauth.md index e9f8bc1e1..4dd06f501 100644 --- a/docs/vmauth.md +++ b/docs/vmauth.md @@ -255,8 +255,8 @@ Alternatively, [https termination proxy](https://en.wikipedia.org/wiki/TLS_termi It is recommended protecting the following endpoints with authKeys: * `/-/reload` with `-reloadAuthKey` command-line flag, so external users couldn't trigger config reload. * `/flags` with `-flagsAuthKey` command-line flag, so unauthorized users couldn't get application command-line flags. -* `/metrics` with `metricsAuthKey` command-line flag, so unauthorized users couldn't get access to [vmauth metrics](#monitoring). -* `/debug/pprof` with `pprofAuthKey` command-line flag, so unauthorized users couldn't get access to [profiling information](#profiling). +* `/metrics` with `-metricsAuthKey` command-line flag, so unauthorized users couldn't get access to [vmauth metrics](#monitoring). +* `/debug/pprof` with `-pprofAuthKey` command-line flag, so unauthorized users couldn't get access to [profiling information](#profiling). `vmauth` also supports the ability to restrict access by IP - see [these docs](#ip-filters). See also [concurrency limiting docs](#concurrency-limiting).