diff --git a/docs/configuration.mdx b/docs/configuration.mdx index bd512832..a3f704c4 100644 --- a/docs/configuration.mdx +++ b/docs/configuration.mdx @@ -13,8 +13,8 @@ settings. The config file to use can be specified on the commandline when running Continuwuity by specifying the `-c`, `--config` flag. Alternatively, you can use -the environment variable `CONDUWUIT_CONFIG` to specify the config file to used. -Conduit's environment variables are supported for backwards compatibility. +the environment variable `CONTINUWUITY_CONFIG` to specify the config file to +used. Conduit's environment variables are supported for backwards compatibility. ## Option commandline flag @@ -52,13 +52,15 @@ This commandline argument can be paired with the `--option` flag. 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_`. +prefixed with `CONTINUWUITY_`. For example, if the setting you are changing is `max_request_size`, then the -environment variable to set is `CONDUWUIT_MAX_REQUEST_SIZE`. +environment variable to set is `CONTINUWUITY_MAX_REQUEST_SIZE`. To modify config options not in the `[global]` context such as -`[global.well_known]`, use the `__` suffix split: `CONDUWUIT_WELL_KNOWN__SERVER` +`[global.well_known]`, use the `__` suffix split: +`CONTINUWUITY_WELL_KNOWN__SERVER` -Conduit's environment variables are supported for backwards compatibility (e.g. +Conduit and conduwuit's environment variables are also supported for backwards +compatibility, via the `CONDUIT_` and `CONDUWUIT_` prefixes respectively (e.g. `CONDUIT_SERVER_NAME`).