资讯专栏INFORMATION COLUMN

重启nginx警告*hash_max_size,*hash_bucket_size

lentrue / 2889人阅读

警告信息如下:

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_size
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_size
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_size

解决办法:

编辑vim /etc/nginx/nginx.conf,在http里面增加

proxy_headers_hash_max_size 51200;
proxy_headers_hash_bucket_size 6400;

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/39267.html

相关文章

  • nginx的安装

    摘要:前几天安装了下这里记录下去官网下载最新稳定版本的检测一路然后报错少了个正则表达式的库没有这个库没发重写或者找个源码包就可以装上库文件了少了个包提供数据压缩用的函数式库好了通过直接简介启动配置文件网页文件日志文件主要进程文件启动就 前几天安装了下nginx 这里记录下 去 nginx.org 官网下载最新稳定版本的nginx http://nginx.org/download/ngi...

    Apollo 评论0 收藏0
  • nginx的安装

    摘要:前几天安装了下这里记录下去官网下载最新稳定版本的检测一路然后报错少了个正则表达式的库没有这个库没发重写或者找个源码包就可以装上库文件了少了个包提供数据压缩用的函数式库好了通过直接简介启动配置文件网页文件日志文件主要进程文件启动就 前几天安装了下nginx 这里记录下 去 nginx.org 官网下载最新稳定版本的nginx http://nginx.org/download/ngi...

    soasme 评论0 收藏0
  • TensorFlow Wide And Deep 模型详解与应用

    摘要:我们先看看的初始化函数的完整定义,看构造一个模型可以输入哪些参数我们可以将类的构造函数中的参数分为以下几组基础参数我们训练的模型存放到指定的目录中。看完模型的构造函数后,我们大概知道和端的模型各对应什么样的模型,模型需要输入什么样的参数。 Wide and deep 模型是 TensorFlow 在 2016 年 6 月左右发布的一类用于分类和回归的模型,并应用到了 Google Play ...

    opengps 评论0 收藏0
  • 记我的nginx + php5-fpm配置问题和解决方式

    刚刚我在配置nginx+php5-fmp的虚拟主机环境, 在配置的过程中,在配置的过程中出现了一些问题, 在此记录下来, 以备后患。 请注意, 这里不是写如何配置这个虚拟主机, 而是记录我在配置的时候遇到的问题以及如何克服这些问题的过程。 环境: ubuntu 14.04 (64位) nginx 1.4.6 php 5.5.9 开始 开始的时候, 因为我是新安装的ubuntu的系统, ...

    xuweijian 评论0 收藏0

发表评论

0条评论

lentrue

|高级讲师

TA的文章

阅读更多
最新活动
阅读需要支付1元查看
<