tsuki/nginx: general optimizations
This commit is contained in:
parent
0ceeb49c23
commit
596d5429ba
@ -36,6 +36,17 @@
|
|||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
recommendedZstdSettings = true;
|
recommendedZstdSettings = true;
|
||||||
|
|
||||||
|
appendConfig = ''
|
||||||
|
pcre_jit on;
|
||||||
|
worker_processes auto;
|
||||||
|
worker_rlimit_nofile 100000;
|
||||||
|
'';
|
||||||
|
eventsConfig = ''
|
||||||
|
worker_connections 2048;
|
||||||
|
use epoll;
|
||||||
|
multi_accept on;
|
||||||
|
'';
|
||||||
|
|
||||||
upstreams = let
|
upstreams = let
|
||||||
srv = config.services;
|
srv = config.services;
|
||||||
sa = config.local.socketActivation;
|
sa = config.local.socketActivation;
|
||||||
|
Loading…
Reference in New Issue
Block a user