Skip to content

Configuration

vabalcar edited this page Jul 8, 2020 · 1 revision

Configuration

The configuration is a JSON file containing a simple JSON dictionary with following key/value pairs:

  • domain: Virtualmin's domain to use
  • serverUser: Virtualmin's server admin user use
  • serverGroup: Virtualmin's server admin group to use
  • apacheServerDocumentRoot: Apache document root
  • websitesLocation: URL path prefix; It's a path from apacheServerDocumentRoot to the directory in which WebsiteUsersEditor will create group directories
  • apacheUsersSettings: a path to a directory from which Apache loads configuration; All configuration files generated by WebsiteUsersEditor will be stored there.
  • defaultUserPassword: default password of newly created users
  • backupDir: a path to a directory in which WebsiteUsersEditor will store backups

Sample configuration file

{
    "domain": "example.com",
    "serverUser": "server",
    "serverGroup": "server",
    "apacheServerDocumentRoot": "/home/server/public_html",
    "websitesLocation": "websites",
    "apacheUsersSettings": "/etc/apache2/users-settings",
    "defaultUserPassword": "1234",
    "backupDir": "/home/server/backups"
}

Clone this wiki locally