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?
Hi,
Iâm not too sure whats going on here. My redirect files seem to have vanished! Looking at the backup vs the current conf folder, I can see nginx.conf_redirect , nginx.ssl.conf_redirect and nginx.forcessl.conf are missing:
[image]
Its done this on multiple user accounts. I also had it on another server, which we noticed stopped stopped doing a SSL redirect
Iâm not looking forward to fixing this. We have hundreds of sites on the servers
Has anyone else seen tâŚ
myrecs
May 20, 2026, 10:04pm
3
in my case they are modified, namely: nginx.ssl.conf, nginx.forcessl.conf, nginx.conf_letsencrypt
myrecs:
nginx.ssl.conf
That file shouldnât be modified by LE update. How did you create the template? Whatâs the template name?
myrecs
May 20, 2026, 10:26pm
5
in /usr/local/hestia/data/templates/web/nginx/php-fpm
myrecs
May 20, 2026, 10:34pm
7
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?
myrecs
May 21, 2026, 5:46pm
11
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.
myrecs
May 21, 2026, 6:35pm
13
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
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.
myrecs
May 31, 2026, 2:43pm
16
upgraded to latest v1.9.6. again yesterday nginx.ssl.conf cleared. i had block on top of / loctaion and now itâs gone. why smth touches custom configs?!
2026-05-30 06:24:24 v-change-sys-config-value âVERSIONâ â1.9.5â
2026-05-30 06:24:27 v-add-sys-roundcube
2026-05-30 06:24:28 v-add-sys-dependencies
2026-05-30 06:24:28 v-change-sys-config-value âVERSIONâ â1.9.6â
2026-05-30 06:24:29 v-change-sys-config-value âRELEASE_BRANCHâ âreleaseâ
2026-05-30 06:24:29 v-update-user-counters âadminâ
2026-05-30 06:24:29 v-rebuild-web-domains âadminâ ânoâ
2026-05-30 06:24:29 v-rebuild-dns-domains âadminâ ânoâ
2026-05-30 06:24:29 v-rebuild-mail-domains âadminâ ânoâ
2026-05-30 06:24:30 v-update-user-counters âadminâ
2026-05-30 06:24:30 v-update-user-stats âadminâ
2026-05-30 06:24:30 v-rebuild-user âadminâ ânoâ
2026-05-30 06:24:31 v-add-web-domain-backend âwww-rootâ â``domain.com``â âsocketâ ânoâ
2026-05-30 06:24:32 v-delete-web-domain-ssl-force âwww-rootâ â``domain.com``â ânoâ âyesâ
2026-05-30 06:24:32 v-add-web-domain-ssl-force âwww-rootâ â``domain.com``â ânoâ âyesâ
2026-05-30 06:24:32 v-delete-web-domain-ssl-hsts âwww-rootâ â``domain.com``â ânoâ âyesâ
2026-05-30 06:24:32 v-add-web-domain-ssl-hsts âwww-rootâ â``domain.com``â ânoâ âyesâ
2026-05-30 06:24:33 v-update-user-counters âwww-rootâ
2026-05-30 06:24:33 v-rebuild-web-domains âwww-rootâ ânoâ
Please, show the output of these commands (replace YourUser and YourDomain with the actual data):
v-list-web-domain YourUser YourDomain json
ls -l /usr/local/hestia/data/templates/web/nginx/php-fpm/custom.*
cat -A /usr/local/hestia/data/templates/web/nginx/php-fpm/custom.stpl
myrecs
May 31, 2026, 3:09pm
18
{
âdomain.comâ: {
âIPâ: â***â,
âIP6â: ââ,
âDOCUMENT_ROOTâ: â/home/www-root/web/domain.com/public_html/â,
âU_DISKâ: â98924â,
âU_BANDWIDTHâ: â196999â,
âTPLâ: âcustomâ,
âALIASâ: âwww.domain.comâ,
âSTATSâ: ââ,
âSTATS_USERâ: ââ,
âSSLâ: âyesâ,
âSSL_FORCEâ: âyesâ,
âSSL_HSTSâ: âyesâ,
âSSL_HOMEâ: âsameâ,
âLETSENCRYPTâ: âyesâ,
âFTP_USERâ: ââ,
âFTP_PATHâ: ââ,
âAUTH_USERâ: ââ,
âBACKENDâ: âsocketâ,
âPROXYâ: âdefaultâ,
âPROXY_EXTâ: ââ,
âFASTCGI_CACHEâ: ââ,
âFASTCGI_DURATIONâ: ââ,
âREDIRECTâ: âdomain.comâ,
âREDIRECT_CODEâ: â301â,
âCUSTOM_DOCROOTâ: ââ,
âSUSPENDEDâ: ânoâ,
âTIMEâ: â13:20:42â,
âDATEâ: â2021-08-22â
}
}
-rw-râr-- 1 root root 2023 Apr 4 17:20 /usr/local/hestia/data/templates/web/nginx/php-fpm/custom.stpl
-rw-râr-- 1 root root 1893 Apr 4 17:20 /usr/local/hestia/data/templates/web/nginx/php-fpm/custom.tpl
#=======================================================================#$
^I^I^I^I^I^I^I^ICUSTOM^I^I^I^I^I^I^I^I^I#$
#=======================================================================#$
$
server {$
listen %ip%:%web_ssl_port% ssl http2;$
server_name %domain_idn% %alias_idn%;$
root %sdocroot%;$
index index.php index.html index.htm;$
access_log /var/log/nginx/domains/%domain%.log combined;$
access_log /var/log/nginx/domains/%domain%.bytes bytes;$
error_log /var/log/nginx/domains/%domain%.error.log error;$
$
ssl_certificate %ssl_pem%;$
ssl_certificate_key %ssl_key%;$
ssl_stapling on;$
ssl_stapling_verify on;$
$
include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;$
$
location / {$
try_files $uri $uri/ @opencart;$
location ~* ^.+.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {$
expires max;$
fastcgi_hide_header âSet-Cookieâ;$
}$
$
location ~ [^/].php(/|$) {$
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;$
if (!-f $document_root$fastcgi_script_name) {$
return 404;$
}$
$
fastcgi_pass %backend_lsnr%;$
fastcgi_index index.php;$
include /etc/nginx/fastcgi_params;$
include %home%/%user%/conf/web/%domain%/nginx.fastcgi_cache.conf*;$
}$
}$
$
location @opencart {$
rewrite ^/(.+)$ /index.php?route=$1 last;$
}$
$
location /storage/ {$
deny all;$
return 404;$
}$
$
location /vstats/ {$
alias %home%/%user%/web/%domain%/stats/;$
include %home%/%user%/web/%domain%/stats/auth.conf*;$
}$
$
location /error/ {$
alias %home%/%user%/web/%domain%/document_errors/;$
}$
$
location ~ /.(?!well-known/) { $
deny all; $
return 404;$
}$
$
include /etc/nginx/conf.d/phpmyadmin.inc*;$
include /etc/nginx/conf.d/phppgadmin.inc*;$
include %home%/%user%/conf/web/%domain%/nginx.ssl.conf_*;$
}$
Ok, and whatâs the section of that template that is being removed from nginx.ssl.conf?
myrecs
May 31, 2026, 3:30pm
20
but may be it was totally overwritten, i dont know
But the include of my_cnf.inc is not in your custom template�??