HestiaCP 1.8.0 Beta

After changing Web Template NGINX get Error: nginx restart failed invalid number of arguments in “fastcgi_pass”. nginx -t
%backend_lsnr% is empty

Can you share the config it created?

location ~ [^/]\.php(/|$)|^/update.php {
			try_files $uri =404;

			include /etc/nginx/fastcgi_params;

			fastcgi_index index.php;
			fastcgi_param HTTP_EARLY_DATA $rfc_early_data if_not_empty;
			fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
			fastcgi_param SCRIPT_FILENAME $request_filename;
			fastcgi_split_path_info ^(.+?\.php)(|/.*)$;

			fastcgi_pass ;

			include /home/smartstaff/conf/web/..../nginx.fastcgi_cache.conf*;

			set $no_cache 0;

			if ($request_uri ~* "/user/|/admin/|index.php") {
				set $no_cache 1;
			}

			if ($http_cookie ~ SESS) {
				set $no_cache 1;
			}
		}

the problem in fastcgi_pass ;
%backend_lsnr% in templates not working as expected

What default template do you use?

Any template make nginx config file syntax bad
p/s. Adding unix:/run/php/php8.2-fpm-DOMAINNAME.sock after fastcgi_pass solve this problem. But if i change Web Template the problem rise again.

I wonder why is caused haven’t seen the issue on my test server personally…

Nice update, is there an approximate date of the stable version?

3 Likes

I continu my test with the beta installer.
Little comment on the firewall, if you don’t install dovecot/mail/ftp/dns, the port shouldn’t be open on the firewall…
Yes without services behind the port will be closed ofc… But no need to create rule to allow communication if there are no service behind…

2 Likes

Please create an issue report for it

2 Likes

Hi everyone. I’ve been using 1.8 beta for a while now and I didn’t encounter any issue. However, after each update I have to manually change nginx conf file. Can someone tell me how to “fix” this so it’s done automatically?

cp.vokabula.com has been upgraded from Hestia Control Panel v1.8.0~beta3 to v1.8.0~rc.
Installation log: /root/hst_backups/080720232047/hst-upgrade-080720232047.log

===================================================
The upgrade script has generated additional notifications, which must be heeded urgently:

Manual Action Required [IMPORTANT]

To enable the "Enhanced and Optimized TLS" feature, we must update the NGINX configuration file (/etc/nginx/nginx.conf).

But for unknown reason or you edited it, may not be fully apply all the changes in this upgrade.

Please follow the default configuration file to sync it:
/usr/local/hestia/install/deb/nginx/nginx.conf

Backed up configuration file:
/root/hst_backups/080720232047/conf/nginx/nginx.conf

Learn more:
https://github.com/hestiacp/hestiacp/pull/3555
About TLS 1.3 0-RTT anti-replay for NGINX

If you use custom templates, please update them (*.stpl) to apply this protection.

Follow the usage or other default templates:
/etc/nginx/conf.d/0rtt-anti-replay.conf

Learn more:
https://github.com/hestiacp/hestiacp/pull/3692

Just ignored it …

Changes have been already made…

2 Likes

Rc version has a few small bug fixes mainly translations work again

2 Likes