• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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