Files
confique/tests/format-output/1-default.json5
Lukas Kalbertodt 9b9610a6ac Add JSON5 support
2022-10-21 11:52:53 +02:00

48 lines
1.2 KiB
Plaintext

// A sample configuration for our app.
{
// Name of the website.
//
// Required! This value must be specified.
//site_name: ,
// Configurations related to the HTTP communication.
http: {
// The port the server will listen on.
//
// Can also be specified via environment variable `PORT`.
//
// Required! This value must be specified.
//port: ,
// The bind address of the server. Can be set to `0.0.0.0` for example, to
// allow other users of the network to access the server.
//
// Default value: "127.0.0.1"
//bind: "127.0.0.1",
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",
},
},
// Configuring the logging.
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: ,
},
}