• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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