STREAM_SSL_PREREAD is default = on but has no effect. The configure option "--with-stream_ssl_preread_module" is not beeing added to the configure command and is then missing when trying to use: nginx: [emerg] unknown directive "ssl_preread" in /usr/local/etc/nginx/nginx.conf:150 Something like this would fix it: -STREAM_SSL_PREREAD_OFF= --without-stream_ssl_preread_module +STREAM_SSL_PREREAD_CONFIGURE_ON= --with-stream_ssl_preread_module
A commit references this bug: Author: joneum Date: Thu Jun 28 17:27:29 UTC 2018 New revision: 473502 URL: https://svnweb.freebsd.org/changeset/ports/473502 Log: - Update brotli to e26248e - Fix STREAM_SSL_PREREAD PR: 229336, 229237 Changes: head/www/nginx/Makefile head/www/nginx/Makefile.extmod head/www/nginx/distinfo
Landed. Thanks :-)
Great work! Could you please do the same for nginx-devel port?