LE update cleared my custom nginx.conf

2026-05-10 06:53:05 v-restart-service  'bind9'
2026-05-10 06:53:05 v-delete-dns-record  'www-root' 'domain.com' '25'
2026-05-10 06:53:08 v-restart-service  'bind9'
2026-05-10 06:53:05 v-add-dns-record  'www-root' 'domain.com' '@' 'CAA' '0 issue "letsencrypt.org"'
2026-05-10 06:53:12 v-restart-service  'nginx'
2026-05-10 06:53:24 v-restart-service  'nginx'
2026-05-10 06:53:35 v-generate-ssl-cert  'domain.com' '[email protected]' 'US' 'California' 'San Francisco' 'Hestia' 'IT' 'www.domain.com'
2026-05-10 06:53:38 v-delete-web-domain-ssl-force  'www-root' 'domain.com' 'no' 'yes'
2026-05-10 06:53:40 v-restart-service  'nginx'
2026-05-10 06:53:40 v-delete-web-domain-ssl  'www-root' 'domain.com'
2026-05-10 06:53:41 v-add-web-domain-ssl  'www-root' 'domain.com' '/tmp/tmp.p82QdV8kpw' 'same' 'updatessl'
2026-05-10 06:53:43 v-restart-service  'nginx'
2026-05-10 06:53:44 v-add-web-domain-ssl-force  'www-root' 'domain.com'
2026-05-10 06:53:44 v-add-letsencrypt-domain  'www-root' 'domain.com' 'www.domain.com'

I have custom nginx template set in settings (i’ve copied ready template, made it custom and set, as recommended). but few days ago i’ve found that my custom conf was modified and reversed to “clear“ version, all my changes were removed.

Do you think it’s a similar issue to this one?

in my case they are modified, namely: nginx.ssl.conf, nginx.forcessl.conf, nginx.conf_letsencrypt

That file shouldn’t be modified by LE update. How did you create the template? What’s the template name?

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

image

06:53:41 the exact modification time

I see nothing in script v-add-web-domain-ssl that could modify nginx.ssl.conf during LE update. Removing letsencrypt and forcessl yes, but not the main conf.

Could you please show the output of your cron jobs?

crontab -l -u hestiaweb

crontab: user `hestiaweb’ unknown

If the hestiaweb user doesn’t exist, you’re not using the latest Hestia version (1.9.x). What’s your Hestia and OS version?

1 Like

yes i have old hestia version 1.4.15

Ubuntu 20.04.3 LTS

Wow, that’s pretty old. Then, I’m sorry, but I can’t help. I don’t know what bugs in that version could be causing the issue.

turned updates off long ago because of conf files replacement on updates (didn’t get into templates settings and other) and forgot, but replacements are still here) ok i’ll update, will see, thx

1 Like

Make backups, if you can do a snapshot of your server do it. Also, you should also upgrade Ubuntu, version 20.04 is not supported anymore either by Sury’s PHP packages or Hestia.