bump worker_connections number and auto detect worker_processes number

This commit is contained in:
Karol Wypchlo 2021-08-09 12:14:12 +02:00
parent a97707f97d
commit c59991c2e0
1 changed files with 3 additions and 3 deletions

View File

@ -16,8 +16,8 @@
# See https://github.com/openresty/docker-openresty/blob/master/README.md#nginx-config-files # See https://github.com/openresty/docker-openresty/blob/master/README.md#nginx-config-files
# #
user root; user root;
worker_processes 1; worker_processes auto;
#error_log logs/error.log; #error_log logs/error.log;
#error_log logs/error.log notice; #error_log logs/error.log notice;
@ -31,7 +31,7 @@ env SKYNET_SERVER_API;
env ACCOUNTS_ENABLED; env ACCOUNTS_ENABLED;
events { events {
worker_connections 1024; worker_connections 8192;
} }