Also here an example for Codeigniter 4.
https://forum.centos-webpanel.com/index.php?topic=11682.0There I use
Webserver config: nginx ->apache ->php-fpm
Then the custom templates are located here: /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/httpd/php-fpm
The part to read and understand carefully is where the custom templates are located and named:
Read all the info here:
http://wiki.centos-webpanel.com/webservers-vhost-templatesTemplate folders explained
List from folder: /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/
httpd = apache templates
nginx = nginx templates
varnish = varnish templates
php-fpm = php-fpm service templates (used for all php-fpm versions)
httpd (subfolders explained)
- main folder = default templates used with php-cgi, this is only httpd folder no subfolder
- php-fpm folder = php-fpm templates used when server/domain is running php-fpm
- proxy folder = proxy templates used when apache is used as proxy to other service/port
nginx (subfolders explained)
- main folder = default templates used as proxy templates, this is only nginx folder no subfolder
- php-fpm folder = php-fpm templates used when server/domain is running nginx&php-fpm
varnish (no subfolders)
- main folder = default templates used as proxy templates, varnish has no .stpl (https/ssl) files and also has no other subfolders
php-fpm (no subfolders)
- main folder = default templates used as templates for all php-fpm versions, php-fpm has no .stpl (https/ssl) files and also has no other subfolders.