提交 ed260599 作者: Matt Joiner

docs: Improve config documentation

License: MIT
Signed-off-by: 's avatarMatt Joiner <anacrolix@gmail.com>
上级 d3a488e2
# The go-ipfs config file # The go-ipfs config file
The go-ipfs config file is a json document. It is read once at node instantiation, The go-ipfs config file is a JSON document located at `$IPFS_PATH/config`. It
either for an offline command, or when starting the daemon. Commands that execute is read once at node instantiation, either for an offline command, or when
on a running daemon do not read the config file at runtime. starting the daemon. Commands that execute on a running daemon do not read the
config file at runtime.
#### Profiles #### Profiles
Configuration profiles allow to tweak configuration quickly. Profiles can be Configuration profiles allow to tweak configuration quickly. Profiles can be
applied with `--profile` flag to `ipfs init` or with `ipfs config profile apply` applied with `--profile` flag to `ipfs init` or with the `ipfs config profile
command. When a profile is applied a backup of the configuration file will apply` command. When a profile is applied a backup of the configuration file
be created in $IPFS_PATH will be created in `$IPFS_PATH`.
Available profiles: Available profiles:
- `server` - `server`
Recommended for nodes with public IPv4 address (servers, VPSes, etc.), Recommended for nodes with public IPv4 address (servers, VPSes, etc.),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论