summaryrefslogtreecommitdiff
path: root/configs/nginx
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-09 13:00:11 +0300
committerDevaev Maxim <[email protected]>2020-09-09 13:00:11 +0300
commit6c5a485b4833b20a1a488102285bdc91566be565 (patch)
treef5b0310fcc36060ba398eb9771ff8c3f91bc343c /configs/nginx
parent170ed92bd446a7dde3fedc2cb143d2a328f8a4cb (diff)
Fixed nginx's "Could not build optimal types_hash"
Diffstat (limited to 'configs/nginx')
-rw-r--r--configs/nginx/nginx.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/nginx/nginx.conf b/configs/nginx/nginx.conf
index a64a0f71..19e839b4 100644
--- a/configs/nginx/nginx.conf
+++ b/configs/nginx/nginx.conf
@@ -12,6 +12,9 @@ events {
}
http {
+ types_hash_max_size 4096;
+ server_names_hash_bucket_size 128;
+
access_log off;
include /etc/kvmd/nginx/mime-types.conf;