diff options
author | 2023-07-12 10:28:41 +0200 | |
---|---|---|
committer | 2023-07-12 10:28:41 +0200 | |
commit | 8d92b2479f810bc5d20245361fa59339763a1495 (patch) | |
tree | 05b95d76a0fb7cc683a2f8a81ea40fec8fb8873a /docs/configuration/general.md | |
parent | Bump semver from 6.3.0 to 6.3.1 in /web/source (#1981) (diff) | |
download | gotosocial-8d92b2479f810bc5d20245361fa59339763a1495.tar.xz |
[bugfix] Align default values in the configuration file with the code (#1971)
* Set default value of SMTPFrom to empty string
This parameter should contain proper e-mail address (to be provided by user during configuration).
* Update default values in example/config.yaml
Default values and related comments in example/config.yaml are aligned
with values defined in internal/config/defaults.go.
Small improvements to foramting of config.yaml file.
* Add default value for AdvancedThrottlingRetryAfter to internal/config/defaults.go
AdvancedThrottlingRetryAfter was introduced in 70739d3 (superseriousbusiness/gotosocial#1466).
* Update config.yaml snippets in documentation
Diffstat (limited to 'docs/configuration/general.md')
-rw-r--r-- | docs/configuration/general.md | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/configuration/general.md b/docs/configuration/general.md index cf2bb5c30..285852afe 100644 --- a/docs/configuration/general.md +++ b/docs/configuration/general.md @@ -23,11 +23,21 @@ log-level: "info" # Default: false log-db-queries: false +# Bool. Include the client IP in the emitted log lines +# Options: [true, false] +# Default: true +log-client-ip: true + # String. Application name to use internally. # Examples: ["My Application","gotosocial"] # Default: "gotosocial" application-name: "gotosocial" +# String. The user that will be shown instead of the landing page. if no user is set, the landing page will be shown. +# Examples: "admin" +# Default: "" +landing-page-user: "" + # String. Hostname that this server will be reachable at. Defaults to localhost for local testing, # but you should *definitely* change this when running for real, or your server won't work at all. # DO NOT change this after your server has already run once, or you will break things! @@ -44,7 +54,9 @@ host: "localhost" # # You should also redirect requests at "example.org/.well-known/nodeinfo" in the same way. # -# You should also redirect requests at "example.org/.well-known/host-meta" in the same way. This endpoint is used by a number of clients to discover the API endpoint to use when the host and account domain are different. +# You should also redirect requests at "example.org/.well-known/host-meta" in the same way. This endpoint +# is used by a number of clients to discover the API endpoint to use when the host and account domain are +# different. # # An empty string (ie., not set) means that the same value as 'host' will be used. # |