Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Unicorn Rack 服务器可以监听现有的文件描述符吗?如果没有,是否有任何 Rack 服务器可以?
例如,我有一个父进程将端口80作为文件描述符打开,3然后分叉并执行 Unicorn。Unicorn 可以选择监听预先打开的套接字吗?
80
3
您可以在配置文件中手动设置套接字以侦听方法,例如
listen Socket.for_fd(ENV['FD'])