linux

重启nginx警告*hash_max_size,*hash_bucket_size

2018-09-27

  警告信息如下:wMj七七世界-网站建设|UI设计|人资系统|二次开发

  Starting nginx: nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_sizewMj七七世界-网站建设|UI设计|人资系统|二次开发

  nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_sizewMj七七世界-网站建设|UI设计|人资系统|二次开发

  nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_sizewMj七七世界-网站建设|UI设计|人资系统|二次开发

  解决办法:wMj七七世界-网站建设|UI设计|人资系统|二次开发

  编辑vim /etc/nginx/nginx.conf,在http里面增加wMj七七世界-网站建设|UI设计|人资系统|二次开发

  proxy_headers_hash_max_size 51200;wMj七七世界-网站建设|UI设计|人资系统|二次开发

  proxy_headers_hash_bucket_size 6400;wMj七七世界-网站建设|UI设计|人资系统|二次开发

© 2012-2024七七世界网站建设     20707.net 1125w.com 版权所有     豫ICP备14018694号-1