Administration
Advanced settings
Passwork server configuration
6min
if the required parameter is missing from the list, it means that it is configured through the passwork web interface or is no longer supported the config env configuration file is located in the following directories, depending on the chosen passwork installation method linux — /var/www/init/config env windows server — c \inetpub\wwwroot\passwork\init\config env docker — /\<passwork>/conf/keys/config env parameters related to passwork parameter default value description encryption cipher aes 256 cfb data encryption algorithm is export enabled 1 permission to export data from passwork is emergency reset enabled 0 enable resetting the owner password via emergency mode docid\ t2ketaupudzn5sv6g1dn6 is writing logs to stderr enabled 1 writing errors to the stderr stream is writing logs to error log enabled 1 writing errors to the error log file is base64 response encoding enabled 1 base64 encoding of responses app url url address of the passwork set during the setup wizard process health check token token for the health check docid\ wrr96u9fzbrswknfwznns hash algorithm it is recommended to leave unchanged password hashing algorithm sha512 is used by default encryption cipher it is recommended to leave unchanged you can specify an encryption algorithm from the openssl library is http headers checker enabled 0 enable referer checking in http headers path and configuration file settings parameter default value description files dir \<root passwork>/files directory containing logs of background tasks, description of api scheme and others init dir \<root passwork>/init default directory for storing the encryption key and custom configuration file encryption key path init dir/encryption key path to encryption key file env local path init dir/config env path to the user configuration file sso files dir files dir/sso path to the sso directory, needed to store certificates if used for signing usage init/config env — this file contains the default configuration path, which can be overridden via env local it includes most of the core settings, and in most cases, configuration involves only modifying or adding parameters in this file env — located at the root of the passwork (not to be confused with env at the root of the passwork docker) please do not make any changes to this file unless explicitly instructed to do so by our technical support team env local — not present by default, but may be placed in the root of the passwork codebase we recommend using this file to override only a limited set of settings such as paths, encryption mode, and response encoding mode settings in this file will take precedence over those defined in init/config env and env environment variables are another way to configure the application, but they are mainly suitable for use in containerized environments or with external process managers in most other situations, using configuration files is the recommended approach database connection parameters parameter description mongodb url mongodb connection string mongodb db passwork database name mongodb username (optional) mongodb user name mongodb password (optional) mongodb user password email parameters used with the dsn docid\ wmn kuctv82bzzrzeuibv type parameter description app sender email the sender's email for system mail mailer dsn dsn string of connection to the mail server