From 84d67e2bb37d188985cf08737ded9a752d467fc9 Mon Sep 17 00:00:00 2001 From: Gontier Julien Date: Sun, 18 Sep 2022 21:56:05 +0200 Subject: [PATCH] Improve nginx performance. Signed-off-by: Gontier Julien --- preset/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/preset/nginx.conf b/preset/nginx.conf index 5830bc8..9f043fc 100644 --- a/preset/nginx.conf +++ b/preset/nginx.conf @@ -22,6 +22,12 @@ events { } http { + # By default, multi-threading is disabled, so we enable it. + aio threads; + + # Even if it not really need, it always good practice to set it up. + charset utf-8; + # Includes mapping of file name extensions to MIME types of responses # and defines the default type. include /etc/nginx/mime.types;