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:
commit
803cdd50ab
|
@ -22,6 +22,12 @@ events {
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
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
|
# Includes mapping of file name extensions to MIME types of responses
|
||||||
# and defines the default type.
|
# and defines the default type.
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
|
|
Loading…
Reference in New Issue