Improve nginx performance.

Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>
This commit is contained in:
Gontier Julien 2022-09-18 21:56:05 +02:00
parent f6bee53b1a
commit 84d67e2bb3
1 changed files with 6 additions and 0 deletions

View File

@ -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;