I've modified stpl file, but can't select it in panel

I’ve copied /usr/local/hestia/data/templates/web/nginx/default.stpl to news.stpl and /usr/local/hestia/data/templates/web/nginx/default.tpl to news.tpl. But in panel/WEB/Edit domain/Advanced options/Web TemplateNGINX can not find my template ‘news’. I’ve restarted the server. Same problem. When I issue > nginx -T then I see no templates from /usr/local/hestia/data/templates/web/nginx/
listed.

If you are not using Apache2, then the templates for Nginx should be placed here:

/usr/local/hestia/data/templates/web/nginx/php-fpm/

2 Likes