官方UI添加nginx http2支持
官方UI使用nginx http2时会报错,似乎是lua模块不支持,通过转发请求来兼容1. 添加nginx配置(略)
2. 刷机后添加证书等配置(略)
3. 刷机后修改文件 /etc/nginx/conf.d/gl.conf
location = /rpc {
if ($scheme = https) {
proxy_pass http://$host;
}
if ($scheme = http){
content_by_lua_file /usr/share/gl-ngx/oui-rpc.lua;
}
}
你这是解决问题了还是没解决呀? 萝卜大侠 发表于 2022-11-27 21:34
你这是解决问题了还是没解决呀?
没解决根本问题,但是能用
页:
[1]