mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 22:01:35 +01:00
fix: worker connections
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user