Skip to content

Commit 05e5131

Browse files
committed
Merge pull request #161 from troubleshooter/D7
* Added section re: nginx message [emerg] could not build the var.
2 parents a1fc3b3 + 1b55740 commit 05e5131

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

nginx.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,19 @@ http {
128128
## logs. Cf. http://wiki.nginx.org/NginxOptimizations.
129129
#map_hash_bucket_size 192;
130130

131+
## Uncomment one of the lines below if you start getting this message:
132+
## "[emerg] could not build the variables_hash, you should increase
133+
## either variables_hash_max_size: 512 or variables_hash_bucket_size: 64"
134+
## You only need to increase one. Increasing variables_hash_max_size to 1024
135+
## was recommended in nginx forum by developers.
136+
## See this forum topic and responses
137+
## http://forum.nginx.org/read.php?2,192277,192286#msg-192286
138+
## See http://wiki.nginx.org/HttpCoreModule#variables_hash_bucket_size
139+
## The line variables_hash_bucket_size was added for completeness but not
140+
## changed from default.
141+
#variables_hash_max_size 1024; # default 512
142+
#variables_hash_bucket_size 64; # default is 64
143+
131144
## For the filefield_nginx_progress module to work. From the
132145
## README. Reserve 1MB under the name 'uploads' to track uploads.
133146
upload_progress uploads 1m;

0 commit comments

Comments
 (0)