Why new php-fpm template not load while edit package or edit web?

i created new template my.tpl and my.stpl in /usr/local/hestia/install/deb/templates/web/nginx/php-fpm
but, when i edit user package or edit web not see my template in dropdown list of nginx templets.
i restart my server but same problem.
new .tpl and .stpl file permission and owner is same like other default templates file. however not load my template in dropdown list. why?

thank you

Templates for Nginx or Apache2 require both .tpl and .stpl

And we don’t update existing websites if the package changes. It was never before like this and I am not a fan of changing this behavour…

already create both .tpl and .stpl file.
i want to disable fast cgi cache for url start with /admin/… for all sites. like bellow :

if ($request_uri ~* "/admin/*") {
      set $no_cache 1;

so, i post on /home/admin/conf/web/domain.com/nginx.fastcgi_cache.conf
but it will get overwritten each update / rebuild.

In what folder did you upload the templates


Then it should work fine

inside this path /usr/local/hestia/data/templates/web/nginx/php-fpm

  1. /usr/local/hestia/data/templates/web/nginx/php-fpm/my.tpl
  2. /usr/local/hestia/data/templates/web/nginx/php-fpm/my.stpl

now loaded, i don’t know why not load before…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.