Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What does the syntax server unix:/tmp/backend; do? Does that serve from the local filesystem without going through another http daemon?



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.


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: