fix: worker connections

This commit is contained in:
2022-12-21 20:02:56 +01:00
parent 15eceeb8ac
commit 2b4aa79ed0

View File

@@ -2,9 +2,11 @@ user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
worker_rlimit_nofile 30000;
events {
worker_connections 768;
worker_connections {{ worker_connections }};
multi_accept on;
}
http {
@@ -49,7 +51,7 @@ http {
# disable logging
access_log off;
include locations/acme-challenge.conf;
include acme-challenge.conf;
location /{
return 302 https://$host$request_uri;
}