Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to clarify some doubts I have about using nginx to proxy requests over a cluster of thin servers ( I've read many blog posts about using UNIX sockets and not TCP connections, my only doubt is about multiserver configurations, where the cluster is spread on more than one machine, and the proxy acts as a frontend. How do I share UNIX sockets ? Should I share the directory that contains the .sock files or there's something I'm missing ? How do you guys handle this kind of deployment ?

p.s. h

share|improve this question
up vote 7 down vote accepted

UNIX domain sockets are for local connections only. Exporting the file-system that they are on to another machine won't make that socket accessible over the network. See the Wikipedia article on Unix domain sockets for a little more information.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.