DanWin / hosting

This is a setup for a Tor based shared web hosting server
https://danwin1210.de/hosting/
GNU General Public License v3.0
347 stars 123 forks source link

nginx error #117

Closed infoabcd closed 3 years ago

infoabcd commented 3 years ago

nginx: [emerg] could not build map_hash, you should increase map_hash_bucket_size: 32

DanWin commented 3 years ago

It looks like the default setting depends on your precessors cache line size: https://nginx.org/en/docs/http/ngx_http_map_module.html#map_hash_bucket_size Try adding map_hash_bucket_size 64; inside the http block of your nginx.conf

DanWin commented 3 years ago

With my configuration I could go as low as map_hash_bucket_size 1; and it still works. So I'm closing this issue as you are most likely using a highly customized configuration with more/different maps.