Custom JSON¶
In our management interface Cockpit, only the most used configurations are implemented graphically. For other, seldom used settings we used so called Custom JSON fields.
There are two differente 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)
add own CA certificates to the servers trust store (see CA Certificates)
You can add entries to the servers hosts file for testing or other purposes (e.g. TYPO3 page not found handling, APIs) like this:
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
change the default HSTS header sent (see HSTS Header)
set custom environment variables (see Environment Variables)
let the website listen on a specific port or interface (see Listen)