I am trying to increase the number of possible worker_connections
of my nginx on my Beanstalk nodejs server.
I followed the documentation and created a proxy.config
file in my .ebextensions
folder at the root of my project.
files:
/etc/nginx/conf.d/proxy.conf:
mode: "000644"
owner: root
group: root
content: |
worker_rlimit_nofile 65536;
events {
worker_connections 50000;
}
I re-deployed my project but still get this error
[alert] 19144#0: 1024 worker_connections are not enough
.
EDIT: I was looking at the documentation for Amazon Linux 1, so here is my new problem: Increasing worker_connections of nginx on Beanstalk nodejs environment