Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By jpbarroso
Hi! I know it’s a recursive question but with virtualmin the conf is diferent:
I’ve an ubuntu droplet with virtualmin and nginx. How can I configure the .php?
In etc/nginx/sites-available/domain the conf is:
location ~ .php$ {
try_files $uri =404;
fastcgi_pass unix:/var/php-nginx/13931827922062.sock/socket;
}
And I’ve seen that exists :/var/php-nginx/13931827922062.php.pid But i’ve always have the error: 25407#0: *1 connect() to unix:/var/php-nginx/13931827922062.sock/socket failed (2: No such file or directory)…upstream: “fastcgi://unix:/var/php-nginx/13931827922062.sock/socket:”
I’ve tried fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php5-fpm.sock; I’ve seen that in php.ini is cgi.fix_pathinfo = 0;… bat always i 've error 502 Bad gateway in nginx.
Any suggestions? thanks!