Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wtracy
· 13y ago · 0 comments
What does the syntax
server unix:/tmp/backend;
do? Does that serve from the local filesystem without going through another http daemon?
Comments
[–]
dignan
13y ago
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
13y ago
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.