Nginx :proxy_headers_hash_max_size 解決方法
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
阅读剩余
THE END