We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
[Nginx] invalid number of arguments in "fastcgi_pass" directive
[Nginx] invalid number of arguments in "fastcgi_pass" directive
Code: Select all
user@server:~$ sudo nginx -t
nginx: [emerg] invalid number of arguments in "fastcgi_pass" directive in /home/admin/conf/web/domain.com.nginx.conf:22
Code: Select all
location ~ [^/]\.php(/|$) {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
fastcgi_pass;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
}
Re: [Nginx] invalid number of arguments in "fastcgi_pass" directive
Hi! Thanks, I have put localhost:9000 in there and rebooted but the problem is still there.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: [Nginx] invalid number of arguments in "fastcgi_pass" directive
Your config are corrupted. Try to rebuild web-config via Vesta panel.