-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Description
Hi, I have nginx proxy manager running in docker container and it hosts wordpress. In peak time web sometimes throw "500 Internal Server Error".
When searching through the error logs I always found this:
[alert] 2190841#2190841: 1024 worker_connections are not enough
[warn] 2190841#2190841: 1024 worker_connections are not enough, reusing connections
I've wanted to increase worker_connections, but I was unlucky as the only possible way is to add it to "/data/nginx/custom/root.conf":
events {
worker_connections 10024;
}
That resulted into this error: "events" directive is duplicate in /data/nginx/custom/root.conf:1
So I'm out of ideas and replacing /etc/nginx/nginx.conf directly seems sketchy to me. Is there another way?
Thank you.