doc: missing some configs
Massimo Melina committed
Oct 21, 2023 at 02:54 UTC
7057b32f29c2e08f390cd80e1047859857a1c525
1 file changed
+13
config.md
+13
@@ -42,6 +42,8 @@ Configuration can be done in several ways
42
- `vfs` the files and folders you want to expose. For details see the dedicated following section.
43
- `log` path of the log file. Default is `access.log`.
44
- `log_rotation` frequency of log rotation. Accepted values are `daily`, `weekly`, `monthly`, or empty string to disable. Default is `weekly`.
45
+- `log_api` should api calls be logged? Default is `true`.
46
+- `log_gui` should GUI files be logged? Default is `false`.
47
- `error_log` path of the log file for errors. Default is `error.log`.
48
- `errors_in_main_log` if you want to use a single file for both kind of entries. Default is false.
49
- `dont_log_net` don't include in log entries if IP matches this network mask. Default is `127.0.0.1|::1`.
@@ -78,6 +80,17 @@ Configuration can be done in several ways
80
- `min_available_mb` refuse to accept uploads if available disk space is below this threshold. Default is 100.
81
- `dont_overwrite_uploading` uploading a file with name already present in the folder will be renamed if this is enabled. Default is false.
82
- `keep_session_alive` keeps you logged in while the page is left open and the computer is on. Default is true.
83
+- `session_duration` after how many seconds should the login session expire. Default is a day.
84
+- `acme_renew` automatically renew acme certificate close to expiration. Default is false.
85
+- `listen_interface` network interface to listen on, by specifying IP address. Default is any.
86
+- `base_url` URL to be used for links generation. Default is automatic.
87
+- `ignore_proxies` stop warning about detected proxies. Default is false.
88
+- `descript_ion` enable reading and writing of comments in the old file format *DESCRIPT.ION*. Default is yes.
89
+- `descript_ion_encoding` text encoding to be used for file *DESCRIPT.ION*. [List of supported values](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings). Default is `utf8`.
90
+- `server_code` javascript code that works similarly to [a plugin](dev-plugins.md).
91
+- `tiles_size` starting value for frontend's tiles size. Default is 0.
92
+- `update_to_beta` includes beta versions searching for updates. Default is false.
93
+- `create-admin` special entry to quickly create an admin account. The value will be set as password. As soon as the account is created, this entry is removed.
94
95
#### Virtual File System (VFS)
96