Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - gruz

Pages: [1]
1
CentOS-WebPanel Bugs / WebServers vhost templates not applied
« on: April 26, 2020, 05:35:07 AM »
Centos 7
CWPpro version: 0.9.8.963

I saw this topic forwarding to contact the developers directrly http://forum.centos-webpanel.com/index.php?topic=8573.msg30138#msg30138
And this older one http://forum.centos-webpanel.com/index.php?topic=5908.msg20575#msg20575


I set my CWP to use nginx only





Next I follow this manual and create my templates
https://wiki.centos-webpanel.com/webservers-vhost-templates

Code: [Select]
/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/php-fpm/
default-gruz.stpl
default-gruz.tpl

Next I  save my template





I also get error
Code: [Select]
Notice: Undefined index: apache_template-type-default in /usr/local/cwpsrv/htdocs/resources/admin/modules/WebServers_conf.php on line 0





Next I check my vhosts here
Code: [Select]
/etc/nginx/conf.d/vhosts
The file pair is generated from
Code: [Select]
/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/php-fpm/default.tpl
/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/nginx/php-fpm/default.stpl

I also tried selecting predefined templates like
Code: [Select]
force-https - it still uses the
Code: [Select]
default.[s]tpl  pair.


Pages: [1]