babolivier / cozy-archlinux

Old Archlinux packaging for Cozy v2
4 stars 0 forks source link

could not build the server_names_hash #1

Closed babolivier closed 8 years ago

babolivier commented 8 years ago

cozy-nginx won't install (maybe because of a change of some variables' default values on Archlinux), outputing an error like:

[emerg] 336#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32

All you need to do is add server_names_hash_bucket_size 64; in nginx.conf (at the top of the http block).

We need to add this to the automatic Nginx configuration (nginx/cozy-nginx.install)