记得 16 年好像看到说 nginx 开发时候曲解了 freebsd 的内核参数导致新特性不能用?
现在这个 bug 修了没?我 google 了一圈没有结果....
1
gridsah OP 找到了。Nginx 的 changelog 里显示 2018 年把这个 Bug 给修了....
Changes with nginx 1.15.1 03 Jul 2018 *) Feature: the "random" directive inside the "upstream" block. *) Feature: improved performance when using the "hash" and "ip_hash" directives with the "zone" directive. *) Feature: the "reuseport" parameter of the "listen" directive now uses SO_REUSEPORT_LB on FreeBSD 12. *) Bugfix: HTTP/2 server push did not work if SSL was terminated by a proxy server in front of nginx. *) Bugfix: the "tcp_nopush" directive was always used on backend connections. *) Bugfix: sending a disk-buffered request body to a gRPC backend might fail. |
2
gridsah OP 记录一下为后来人排个坑。
截至目前,FreeBSD 13 上 reuseport 模块功能正常,但是没有 ngx_stream_proxy_module 模块,所以 proxy protocol 还没法用。 |