[Answered ]-Nginx: Difference between unix:/ and unix:///

1👍

The difference between:

uwsgi_pass unix:/foo/bar.sock

and

uwsgi_pass unix:///foo/bar.sock

is the same as between:

uwsgi_pass unix:/foo/bar.sock

and

uwsgi_pass unix:////////////////foo////bar.sock

or, the same as between:

root /data/www/site.ru;

and

root ///data/www/site.ru;

I’m sure, now you’ve got the poing. 😉

👤VBart

1👍

Docs recommened uwsgi_pass unix:/var/run/example.com.sock; syntax.

👤rhasti

Leave a comment