5 ms·
Small correction, wasn’t nginx in base from 5.1-5.4 https://www.openbsdhandbook.com/services/webserver/nginx/#:~:text=Nginx%20was%20once%20the%20default,in%20O
by alberth 3y ago
Small correction, wasn’t nginx in base from 5.1-5.4
https://www.openbsdhandbook.com/services/webserver/nginx/#:~:text=Nginx%20was%20once%20the%20default,in%20OpenBSD%20for%20version%205.6 https://www.openbsdhandbook.com/services/webserver/nginx/#:~....
- ninjin 3y agoYou are indeed correct. I recalled that the nginx migration was in progress until around the time of 5.4, but did not remember that it was in base at the time. Thank you for correcting me, it was indeed in tree from 2011 to 2014.
- brynet 3y agoOpenBSD maintained several local patches to nginx, such as chroot [0] by default and reallocarray fixes, but it was rejected by the upstream and too big to maintain locally. OpenBSD httpd would probably have never existed if nginx upstream reacted differently. https://www.openbsd.org/papers/httpd-slides-asiabsdcon2015.pdf https://www.openbsd.org/papers/httpd-slides-asiabsdcon2015.p... [0] The OpenBSD nginx port still includes the default chroot patch, ~8 years later, see https://raw.githubusercontent.com/sthen/nginx_chroot_patch/add_1.20.1/nginx-1.20.1-chroot.patch https://raw.githubusercontent.com/sthen/nginx_chroot_patch/a... and https://github.com/openbsd/ports/blob/master/www/nginx/Makefile#L53C42-L53C67 https://github.com/openbsd/ports/blob/master/www/nginx/Makef...