Increase worker counts, to accomodate assholes on the Internet

This commit is contained in:
ltning 2024-08-11 15:50:27 +00:00
parent c57ae4b037
commit c60fc4215a

View file

@ -10,12 +10,12 @@ load_module "/usr/local/libexec/nginx/ngx_http_lua_module.so";
load_module "/usr/local/libexec/nginx/ngx_stream_lua_module.so";
# Adjust if you have thousands of nodes...
worker_processes 1;
worker_processes 2;
events {
# Ditto; threads per worker, really don't need much. For reference,
# several (tens of) thousands is common for a busy webserver; clearly
# not our case here.
worker_connections 8;
worker_connections 32;
}
# We use the 'stream' service, which is essentially just a TCP proxy with