Articles

How to Safely Customize Your Server's Configuration Files

To customize the global configuration files (files in /etc/) that belong to Nginx, Apache, or PHP, you can use the following instructions:

Customizing Nginx Settings

Customizing Apache Settings

Customizing PHP Settings

If you follow the above instructions, you won't risk ServerPilot overwriting your changes and you'll continue receiving automatic updates for PHP, Nginx, and Apache.

If you customize a file, ServerPilot will no longer be able to update that file. Therefore, it's better to add files to an app's configuration directory (as described in the above documents) than to rename configuration files to *.custom.conf.

Careful! We can't provide support for customizations or for any errors, downtime, or vulnerabilities you introduce through customizations.