tsuki/nginx: general optimizations

This commit is contained in:
Oystein Kristoffer Tveit 2024-11-28 16:32:07 +01:00
parent 0ceeb49c23
commit 596d5429ba
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -36,6 +36,17 @@
recommendedTlsSettings = 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
srv = config.services;
sa = config.local.socketActivation;