To configure settings via the panel.ini
file, you need to edit it in
either of the two ways:
- Edit the
panel.ini
file using a text editor. -
Install the Panel.ini
Editor extension
and use it to edit thepanel.ini
file in the Plesk GUI.
Regardless of the option you choose, to configure one or more settings
via the panel.ini file, you need to add entries to it according to the
following pattern:
[Section name]
Setting name = Value
Note: If a setting accepts a boolean (‘yes’ or ‘no’) value, you can use
either ‘true’, ‘on’, or ‘yes’ to enable it, and ‘false’, ‘off’, ‘no’,
or ‘none’ to disable it.
Changes take effect immediately after saving the file. There is no need
to restart any services.
For example, to disable IP Address Banning (Fail2Ban), add the following
lines to the panel.ini file:
[fail2ban]
enabled = false
As a result, IP Address Banning (Fail2Ban) disappears from the
Security group on the Tools & Settings screen, and you can no
longer manage it via CLI commands.
Every setting that can be configured via the panel.ini
file belongs
to a pre-defined section. To customize a setting, you must place it in
the panel.ini
file within the section to which it belongs. Do not
include any individual section more than once. If you want to customize
multiple settings belonging to a single section, include it once and
place all settings you want to customize within it.
For example, to customize the URL for the application catalog and to
enable application catalog customization, add the following lines to the
panel.ini
file:
[aps]
catalogUrl = "http://example.com"
catalogsCustomization =…