@samitouri / QOSami-HFS / commits / 6990cf05

doc: missing config entries

Massimo Melina committed Dec 23, 2023 at 19:24 UTC 6990cf0556f90b4e4036987fecf117795323f831
1 file changed +8 -1
config.md
+8 -1
@@ -80,7 +80,10 @@ 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.
83 +- `session_duration` after how many seconds should the login session expire. Default is a day.
84 +- `acme_domain` domain used for ACME certificate generation. Default is none.
85 +- `acme_email` email used for ACME certificate generation. Default is none.
86 +- `force_base_url` disconnect any connection that's not using the domain used for ACME certificate generation. Default is none.
87 - `acme_renew` automatically renew acme certificate close to expiration. Default is false.
88 - `listen_interface` network interface to listen on, by specifying IP address. Default is any.
89 - `base_url` URL to be used for links generation. Default is automatic.
@@ -100,6 +103,10 @@ Configuration can be done in several ways
103 - `max_downloads` limit the number of concurrent downloads on the whole server. Default is unlimited.
104 - `max_downloads_per_ip` limit the number of concurrent downloads for the same IP address. Default is unlimited.
105 - `max_downloads_per_account` limit the number of concurrent downloads for each account. This is enforced only for connections that are logged in, and will override other similar settings. Default is unlimited.
106 +- `geo_enable` when enabled, country is determined for each request/connection. Necessary database will be downloaded every month (2MB).
107 +- `geo_allow` set true if `geo_list` should be treated as white-list, set false for black-list. Default will ignore the list.
108 +- `geo_list` list of country codes to be used as white-list or black-list. Default is empty.
109 +- `geo_allow_unknown` set false to disconnect connections for which country cannot be determined. Works only if `geo_allow` is set. Default is true.
110 - `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.
111
112 #### Virtual File System (VFS)