Merge pull request #4 from Gontier-Julien/nginx-to-the-max

Improve nginx performance a little and best practice stuff.
This commit is contained in:
Nico 2022-09-19 12:59:34 +02:00 committed by GitHub
commit 803cdd50ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;