russel053/ 4 月 10, 2018/ 網頁

Nginx錯誤
[emerg]: could not build the proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 22

修改nginx.conf,在http段中加入:

proxy_headers_hash_max_size 1024;
proxy_headers_hash_bucket_size 128;

測試結果:

nginx -t
service nginx restart
Share this Post