Custom JSON
In our management interface Cockpit, only the most used configurations are implemented in the user interface. For other, seldom used settings we provide the ability to insert those settings as Custom JSON to further configure your server.
There are two different Custom JSON fields available depending on the layer of your desired configuration.
Tip
Please make sure that you use the provided configurations on the appropriate level which we indicate in each example.
Server Level Configuration
The server level Custom JSON is located on the servers System tab. It is used to influence the servers configurations, for example to
configure firewall rules (see Firewall Rules)
configure the local mail server (see Outgoing Mail Server)
configure databases (see Database)
You can add entries influence different other parts of the server like the Hostsfile, Locales etc.
Website Level Configuration
The website level Custom JSON is located on the particular websites Advanced tab. It is used to influence the websites configurations, for example to
set custom environment variables (see Environment Variables)
set the webroot to be a different directory (see Custom Webroot)