Skip to content

Commit 66ca9a5

Browse files
author
Luis Elizondo
committed
Increase types_hash_bucket_size to 2048 and decrease number or workers
1 parent 72c79f7 commit 66ca9a5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config/nginx.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
user root;
2-
worker_processes 4;
2+
worker_processes 1;
33
pid /run/nginx.pid;
44

55
events {
@@ -19,6 +19,7 @@ http {
1919
gzip_proxied any;
2020
gzip_types text/plain text/css application/json application/x-javascript te$
2121
gzip_buffers 16 8k;
22+
types_hash_max_size 2048;
2223

2324
upstream application {
2425
server 127.0.0.1:3000;
@@ -54,4 +55,4 @@ http {
5455
# /var/log/supervisor is shared between the host and the guest
5556
access_log /var/log/supervisor/nginx-access.log;
5657
error_log /var/log/supervisor/nginx-error.log;
57-
}
58+
}

0 commit comments

Comments
 (0)