public-reverse-proxy(host): Increase nginx worker fd limit
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:
parent
4540dc5516
commit
012bceeabb
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue