summaryrefslogtreecommitdiff
path: root/dev-lua/lua-resty-string/files/lua-resty-string-0.16-explicitly-load-libcrypto.patch
diff options
context:
space:
mode:
authorZurab Kvachadze <zurabid2016@gmail.com>2024-05-26 01:30:58 +0300
committerSam James <sam@gentoo.org>2025-07-05 08:26:49 +0100
commitab1cf38a0ee78911d942a48b72f732f943ab27f3 (patch)
tree68aea66f07f553fb0b2904fb9a2e0867cc90d421 /dev-lua/lua-resty-string/files/lua-resty-string-0.16-explicitly-load-libcrypto.patch
parentc7e33e57a2eb5e8d58048e3a3443177092f889bd (diff)
downloadgentoo-ab1cf38a0ee78911d942a48b72f732f943ab27f3.tar.gz
gentoo-ab1cf38a0ee78911d942a48b72f732f943ab27f3.tar.bz2
gentoo-ab1cf38a0ee78911d942a48b72f732f943ab27f3.zip
www-servers/nginx: add nginx-r4.conf
This is the fourth revision of the main configuration file of NGINX. Thank you Torbjörn Lönnemark for reporting this! This revision brings a lot of changes, mainly in terms of removed directives (and yes, I will quote Torbjörn Lönnemark on this): * worker_processes "1" -> "auto": it makes no sense to cap the number of worker processes at 1, this commit makes the NGINX spawn as many worker processes as there are CPU cores. * remove "worker_connections 1024": 512 is the default value, no reason to increase. * remove "use epoll": NGINX already uses the most efficient polling method available by default, no need to specify it explicitly. Additionally, NGINX may even fail to start if epoll() is unavailable on the system. * remove "default_type application/octet-stream": arbitrary setting with no obvious purpose, in some circumstances may even be harmful, considering that the default value for this directive is "text/plain". * remove custom "log_format": needlessly diverges from the default format, quoting Torbjörn Lönnemark: > The only difference between this and the builtin 'combined' format > is that it includes gzip_ratio, and gzip is disabled by default > anyway. Can be removed while additionally replacing 'main' in the > access_log directives to 'combined' * remove "connection_pool_size 256", "client_header_buffer_size 1k" and "large_client_header_buffers 4 2k": the connection_pool_size directive sets the default value on 32-bit machines and overrides the default value on 64-bit machines, client_body_buffer_size is 8 times less than the default value, the same applies to large_client_header_buffers. * remove "request_pool_size 4k", "gzip off", "tcp_nodelay on", "ignore_invalid_headers on", "index index.html": they restate the defaults. * remove "client_header_timeout 10m", "client_body_timeout 10m", "send_timeout 10m", "output_buffers 1 32k", "postpone_output 1460", "tcp_nopush off", "keepalive_timeout 75 20": the directives override the defaults with no clear intent. The "server" blocks have also been reworked. Due to www-servers/nginx not installing anything into /var/www/localhost/htodcs, the root directory for the default server will almost always be empty. Therefore, the plaintext example server has had its "root" directive commented out. For the SSL server, the removed-since-1.25.1 "ssl" directive has been changed into an argument to the "listen" directive, as prescribed upstream. Bug: https://bugs.gentoo.org/928131 Bug: https://bugs.gentoo.org/576414 Reported-by: Torbjörn Lönnemark Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/37590 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lua/lua-resty-string/files/lua-resty-string-0.16-explicitly-load-libcrypto.patch')
0 files changed, 0 insertions, 0 deletions