用nginx反向代理动易系统不能登录后台的问题

nginx性能不错,所以我用它把apache替换了。

然而用它来反向代理内部的动易系统时,一进入动易后台就出错502错误。

通过查看错误日志发现是,header太大了,

然后只要在配置文件server里面添加

server{
….

proxy_buffer_size 64k;
proxy_buffers 8 64k;

….

}

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>