Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wtracy
on Jan 14, 2013
|
parent
|
context
|
favorite
| on:
Nginx Load Balancing Basics
What does the syntax
server unix:/tmp/backend;
do? Does that serve from the local filesystem without going through another http daemon?
dignan
on Jan 14, 2013
|
next
[–]
It uses a unix socket. It's also a bit faster than using a TCP socket to proxy (at least in my limited testing), so I prefer it.
jimaek
on Jan 14, 2013
|
prev
[–]
It was used just as an example that you can use anything as an upstream. Its just a unix socket that can be listened by php-fpm for example.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: