diff --git a/documentation/configuration/config_file.md b/documentation/configuration/config_file.md index 7cc1e6572a5cacae7049a9f0c687f85b75c1229c..7a1a167da50df3e0454abe46de01a4d7ea6d0f15 100644 --- a/documentation/configuration/config_file.md +++ b/documentation/configuration/config_file.md @@ -39,10 +39,13 @@ title: Spectrum 2 > * [pidfile](#servicepidfile) > * [user](#serviceuser) > * [users_per_backend](#servicusersperbackend) +> * [web_directory](#servicewebdirectory) +> * [web_url](#serviceweburl) > * [working_dir](#serviceworkingdir) + ### Types of configuration fields Following types are used: @@ -376,6 +379,35 @@ get his own separated backend process. For bigger user-base, you have to increase the `service.users_per_backend` value, but there is no optimal value to be suggested yet. +#### service.web_directory + +Key | val +----|---- +Description:|Full path to directory used to save files to which the links are sent to users. +Context:|server-mode and gateway-mode +Type:|string +Default:| + +When Spectrum 2 has some image or file for the user and this option is set, the image or file is stored in this directory and +and link based on `service.web_url` is sent to the user so he can download the file. + +You can read more about this configuration on [Web Storage page](web_storage.html). + +#### service.web_url + +Key | val +----|---- +Description:|URL on which files in `service.web_directory` are accessible. +Context:|server-mode and gateway-mode +Type:|string +Default:| + +When Spectrum 2 has some image or file for the user and this option is set, the image or file is stored in the `service.web_directory` directory and +and link based on `service.web_url` is sent to the user so he can download the file. + +You can read more about this configuration on [Web Storage page](web_storage.html). + + #### service.working_dir Key | val