Reinstall without losing config?

The directive proxy_passreverse doesn’t exist in Nginx. So, it looks like you modified the template used by your web domain and added that wrong directive, maybe you meant proxy_pass instead of proxy_passreverse. You should fix the template used by your web domain and rebuild it.

ok I’ll check this later.
Will come back in a few hours.
I really do appreciate your guidance and patience :slight_smile:

Ok I checked the file that had that typo and it’s never used. That stpl file is not used, it was for test purpose.
I removed the offending line and rebooted, but still nothing works except just one of the websites.
I may try to compare the tpl and stpl files with other domains to see why that only specific website is reachable while others are not.

You can check the templates used by your domains (replace YourUser and YourDomain with the actual user and domain:

 v-list-web-domain YourUser YourDomain json | jq -r '.[] | to_entries[] | select(.key == "TPL" or .key == "BACKEND" or .key == "PROXY") | "\(.key): \(.value)"

That just gives me a >
And I’m locked somewhere. I have to ctrl-c to leave

v-list-web-domain YourUser YourDomain json
alone lists the properties and I can see it’s using the correct PROXY file.
"PROXY": "proxy_sjordi",

Just checked the working site against the others, no differences besides the port number (of course) in the tpl and stpl files.

If I enter HestiaCP Domains and try to SAVE any of the existing domains, they failed because of nginx: Error: nginx restart failed

So I think the problem is with the certificates.

/var/log/hestiacp/error.log shows, for my sjordi.com domain
26-08-10 19:43:32 v-add-web-domain-ssl-force 'sjordi' '``sjordi.com``' [Error 20]
2026-08-10 19:43:49 v-restart-proxy '' [Error 20]
2026-08-10 19:43:49 v-add-web-domain-ssl-force 'sjordi' '``sjordi.com``' [Error 20]
2026-08-10 19:44:10 v-restart-proxy '' [Error 20]

I forgot to add the last quote:

v-list-web-domain YourUser YourDomain json | jq -r '.[] | to_entries[] | select(.key == "TPL" or .key == "BACKEND" or .key == "PROXY") | "\(.key): \(.value)"'

First you need to know the reason nginx is not starting. In your previous post the error was the wrong directive proxy_passreverse.

Check again the nginx conf errors and show the output:

nginx -t

Also, show your proxy templates:

cat /usr/local/hestia/data/templates/web/nginx/proxy_sjordi.tpl
cat /usr/local/hestia/data/templates/web/nginx/proxy_sjordi.stpl

Ok,

I actually tested nginx using this command yesterday just before you wrote back and found the culprit.

One of the stpl file modified lately while testing a new Nextcloud feature that screwed it. It declared the location / twice. And this had a chain effect on the entire nginx structure of course.

But I had to manually check (and grep) the /etc/nginx/conf.d/domains/* files and manually edit and clean the /etc/nginx/nginx.conf file itself.

Then guess what? Everything is back on tracks and I can’t express how helpful @sahsanu has been. You didn’t make my day, you did make my month !!!

I’m extremely grateful for your help and for this great product.

for (int i = 0; i < 1 000 000; i++) {
cout << "THANKS" << "\n";
}

I really appreciate your kind words, and I’m glad you were able to resolve the issue :hugs: