• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question How to specify UNIX sockets

Zoo3

Regular Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
18.0.46
I operate Nextcloud(It is not a Plesk application) and I'm currently rechecking my configuration.
I have specified "fastcgi_pass php-handler;" in nginx additional directives. Then I create nc.conf in /etc/nginx/conf.d and write upstrem in it.
Is this approach correct? Is there a more Plesk-like, Plesk legitimate way?
Suppose Nextcloud is operating under a subdomain called NC-DOMAIN.

Code:
upstream php-handler {
        server unix:///var/www/vhosts/system/NC-DOMAIN/php-fpm.sock;
}
 
What is the purpose of the directive? If you want to use Nginx, why not disable Proxy mode and choose the PHP via Nginx handler in the PHP settings?
 
Back
Top