mirror of
https://github.com/OMGeeky/confique.git
synced 2025-12-27 06:29:27 +01:00
This gets rid of a lot of duplicated logic that was previously copy&pasted. This commit alos: - Makes it easier to implement new formats - Gets rid of a few bugs - Makes the system more flexible (more options) - Adds a lot of additional tests
24 lines
549 B
TOML
24 lines
549 B
TOML
# A sample configuration for our app.
|
|
|
|
[http]
|
|
[http.headers]
|
|
# The header in which the reverse proxy specifies the username.
|
|
#
|
|
# Default value: "x-username"
|
|
#username = "x-username"
|
|
|
|
# The header in which the reverse proxy specifies the display name.
|
|
#
|
|
# Default value: "x-display-name"
|
|
#display_name = "x-display-name"
|
|
|
|
[http.log]
|
|
# If set to `true`, the app will log to stdout.
|
|
#
|
|
# Default value: true
|
|
#stdout = true
|
|
|
|
# If this is set, the app will write logs to the given file. Of course,
|
|
# the app has to have write access to that file.
|
|
#file =
|