public-reverse-proxy(host): Increase nginx worker fd limit
All checks were successful
/ build (pull_request) Successful in 29s
/ Ansible Lint (push) Successful in 2m34s
/ Ansible Lint (pull_request) Successful in 2m37s

By default the limit on file descriptors is at a 1024 hard limit and 520k hard limit.
Unsure how this affects nginx, but each client connection needs two file descriptors.
So let's try to set the limit of open files explicitly.
This commit is contained in:
jtbx 2026-08-28 12:11:03 +02:00
commit 012bceeabb

View file

@ -3,6 +3,7 @@
user nginx;
worker_processes auto;
worker_rlimit_nofile 2050; # should be worker_connections*2 at least
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;