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; worker_processes auto;
pid /run/nginx.pid; pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf; include /etc/nginx/modules-enabled/*.conf;
worker_rlimit_nofile 30000;
events { events {
worker_connections 768; worker_connections {{ worker_connections }};
multi_accept on;
} }
http { http {
@@ -49,7 +51,7 @@ http {
# disable logging # disable logging
access_log off; access_log off;
include locations/acme-challenge.conf; include acme-challenge.conf;
location /{ location /{
return 302 https://$host$request_uri; return 302 https://$host$request_uri;
} }