-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.2.3升级到2.3.0后,session_sticky参数不支持 #1283
Comments
from 2.3.0 具体升级细节可以参考:#1220
编译时候使用参数如下 |
非常感谢,我自己先测试一下 |
我按照您的方法更新升级成功了。再次请问一下,我只替换了sbin下面的nginx,原来2.2.3的module文件夹是空的,是应该把2.3.0make后生成的module文件夹一起拷贝到原来2.2.3的module文件夹里面吧? |
不需要,tengine里面的modules是方代码的,2.3.0里make install后生成的路径里的文件已经是全的(即 configure --prefix=指定的路径),如果你动态安装模块会自动生成modules目录。
|
再次感谢你的回答。 |
如果没有安装动态模块,这是可以的,只要能够启动即可。
这是不需要的。里面的目录都是source,对线上程序启动无影响。 |
感谢 |
conf配置为:
session_sticky cookie=uid fallback=on path=/ mode=insert option=indirect;
session_sticky_hide_cookie upstream=app_list;
升级2.3.0后,执行关闭或者重载命令,报错:
nginx: [emerg] unknown directive "session_sticky" in /webapp/tengine/conf/confs/nginx_sichuan.conf:3
nginx: [emerg] unknown directive "cookie=uid" in /webapp/tengine/conf/confs/nginx_sichuan.conf:3
nginx: [emerg] unknown directive "session_sticky_hide_cookie" in /webapp/tengine/conf/confs/nginx_sichuan.conf:173
这是不支持了吗?
向各位大神求教,非常感谢。
The text was updated successfully, but these errors were encountered: