• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved About specifying fastcgi_pass in Plesk

Zoo3

Regular Pleskian
I wondered when I looked into Plesk's nginx.conf file.

Code:
/etc/nginx/plesk.conf.d/vhosts/hostname.com.conf
fastcgi_pass "unix:///var/www/vhosts/system/SUB-DOMAIN/php-fpm.sock";

As described above, in fastcgi_pass, slashes are input consecutively three times like "unix:///var/".
Please tell me the meaning of three consecutive slashes. Is there any difference from the single slash case?
 
It's like `http://`, but `unix://`.
The third slash is the root of the path `/var/www/vhosts/system/SUB-DOMAIN/php-fpm.sock`
 
Does this specification affect performance? This specification looks like Plesk only.
For example, "vi /var/text.txt" and "vi ///var/text.txt" will edit the same file.

In the html source, is it treated to indicate the target with either http or https?
When there is a possibility of making http connection and https connection in the same domain, it may be written like "//img/src/sample.jpg". Is this the same thing?
 
Does this specification affect performance?
No. It is just specification, an indication of how to exchange information. Another example file:///usr/share/doc/packet/index.html
In our case, it is a unix socket but not the file.
 
Excuse me, I can not understand anything. Is this a specification method that only Plesk is unique, and does not need to know the meaning?
 
Back
Top