Php-Fpm Template Create - VestaCp

Php-Fpm Template Create - VestaCp

Today we will  creating to the Nginx - Php-Fpm Template on Vestacp.

CENTOS 7

Step 1
This directory is for PHP-FPM configs not for NGINX configs.

/usr/local/vesta/data/templates/web/nginx/php-fpm/
Copy "Default" and modify file In /usr/local/vesta/data/templates/web/nginx/
 
stpl = SSL CONFIG FILE 
tpl   = HTTP CONFIG FILE
 
 
The new file name just like "xxx_xxx.tpl" and "xxx_xxx.stpl", don't use "xxx.xxx.tpl" and "xxx.xxx.stpl" (Won't show your custome template name in vesta panel)
 
finally, restart vesta service by root or sudo: systemctl  restart vesta