- Plesk for Linux
How to modify the domain's web server configurations in Plesk permanently?
The recommended way to modify virtual hosts settings is using Plesk interface in Domains > example.com > Apache & nginx settings or in Service Plans menu. However, it is possible to edit the default templates located at
Refer to this documentation page for more instructions:
Warning: Do not change the default templates. To introduce your changes to the configuration, copy the required templates to the
directory, preserving the directory structure, and then modify these copies. It is possible to create new templates from scratch and place them in the
directory according to the default structure.