Nginx.conf not update after changes in .tpl file

Hi,
i created custom nginx .tpl and .stpl file like bellow.

/usr/local/hestia/install/deb/templates/web/nginx/php-fpm/default-ignore-admin-cache.tpl
/usr/local/hestia/install/deb/templates/web/nginx/php-fpm/default-ignore-admin-cache.stpl

Now i updated .tpl and .stpl file with new changes and try to rebuild domain, Then new nginx.conf file generated but new changes not update in /home/admin/conf/web/domain.com/nginx.conf

I rebooted server and try but not solve.

Thank you,

Hi @vihatsoft,

You are creating the templates in the wrong dir. Templates for Nginx standalone are here:

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

Worked :+1:, Thank you

1 Like

Is it safe to delete /usr/local/hestia/install/deb/templates/web/nginx/php-fpm/default-ignore-admin-cache.stpl
If already in use?

Yes, your domain is not using them.

Ok, Thank you brother…

1 Like

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