Skip to content
Snippets Groups Projects
Commit 1ca484f9 authored by Paul Robertson's avatar Paul Robertson Committed by 🥺
Browse files

explain how to configure conduwuit

parent b1150cde
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,8 @@ # Summary ...@@ -2,7 +2,8 @@ # Summary
- [Introduction](introduction.md) - [Introduction](introduction.md)
- [Differences from upstream Conduit](differences.md) - [Differences from upstream Conduit](differences.md)
- [Example configuration](configuration/examples.md) - [Configuration](configuration.md)
- [Examples](configuration/examples.md)
- [Deploying](deploying.md) - [Deploying](deploying.md)
- [Generic](deploying/generic.md) - [Generic](deploying/generic.md)
- [NixOS](deploying/nixos.md) - [NixOS](deploying/nixos.md)
......
# Configuration
This chapter describes various ways to configure conduwuit.
## Basics
Conduwuit uses a config file for the majority of the settings. Please refer to the
[example config file](./configuration/examples.md#example-configuration) for all of those settings.
The config file to use can either be specified on the command line when running conduwuit by specifying the
`-c`, `--config` flag. Alternatively, you can use the environment variable `CONDUWUIT_CONFIG` to specify the config
file to used.
## Environment variables
All of the settings that are found in the config file can be specified by using environment variables.
The environment variable names should be all caps and prefixed with `CONDUWUIT_`.
For example, if the setting you are changing is `max_request_size`, then the environment variable to set is
`CONDUWUIT_MAX_REQUEST_SIZE`.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment