mirror of https://github.com/status-im/consul.git
docs: pr feedback
This commit is contained in:
parent
1d8e89425e
commit
0fcdddcd46
|
@ -9,7 +9,11 @@ description: >-
|
||||||
|
|
||||||
-> **Note:** Some CLI arguments may be different from HCL keys. See [Configuration Key Reference](/docs/agent/config/agent-config-files#config_key_reference) for equivalent HCL Keys.
|
-> **Note:** Some CLI arguments may be different from HCL keys. See [Configuration Key Reference](/docs/agent/config/agent-config-files#config_key_reference) for equivalent HCL Keys.
|
||||||
|
|
||||||
The options below are all specified on the command-line.
|
This topic describes the available command-line options for the Consul agent.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
See [Agent Overview](/docs/agent#starting-the-consul-agent) for examples of how to use flags with the `consul agent` CLI.
|
||||||
|
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,10 @@ description: >-
|
||||||
|
|
||||||
# Configuration Files ((#configuration_files))
|
# Configuration Files ((#configuration_files))
|
||||||
|
|
||||||
In addition to the command-line options, configuration can be put into
|
You can create one or more files to configure the Consul agent on startup. We recommend
|
||||||
files. This may be easier in certain situations, for example when Consul is
|
grouping similar configurations into separate files, such as ACL parameters, to make it
|
||||||
|
easier to manage configuration changes. Using external files may be easier than
|
||||||
|
configuring agents on the command-line when Consul is
|
||||||
being configured using a configuration management system.
|
being configured using a configuration management system.
|
||||||
|
|
||||||
The configuration files are JSON formatted, making them easily readable
|
The configuration files are JSON formatted, making them easily readable
|
||||||
|
|
|
@ -1262,6 +1262,10 @@ module.exports = [
|
||||||
{
|
{
|
||||||
source: '/api/:path*',
|
source: '/api/:path*',
|
||||||
destination: '/api-docs/:path*',
|
destination: '/api-docs/:path*',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: '/docs/agent/options',
|
||||||
|
destination: '/docs/agent/config',
|
||||||
permanent: true,
|
permanent: true,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue