Overview
This guide will help you for adding any custom configuration in Virtualizor EMPS stack.
Requirement
This feature is available from Virtualizor version 2.9.8.0+
Customize php-fpm
To add any customize php-fpm configuration you will need to create a file at following location :
/usr/local/virtualizor/conf/emps/php-fpm-custom-index.conf
You can change the name but it MUST start with php-fpm-cutom-YOUR_NAME.conf
Once you have created the file and written your customized configuration in that file, please restart the virtualizor service using following command :
Add custom nginx configuration (Since 3.0.3+)
Now Admin can add custom nginx configuration to Virtualizor.
Create directory /usr/local/virtualizor/conf/emps/customconf
To add custom configuration Admin needs to add the conf file at the following location:
/usr/local/virtualizor/conf/emps/customconf/YOUR_CUSTOM_CONF.conf
Once you have added the configuration file please restart the virtualizor service using following command :
NOTE: You can add multiple configuration files at the above mentioned location.