Results 6 comments of Jox

我主要是想利用 lua-resty-http2 这个模块实现一个h2代理,达到的效果是,代理与客户端之间运行的http2协议维持的是一个TCP连接,代理与后端服务器之间运行http2协议维持的也是一个TCP连接。

> You may try to create a timer, which accepts requests from requests in the same worker, the timer opens one connection to upstream by the HTTP/2 multiplex mechanism, and...

经过测试,在后端的nginx 中无法获取到真实的客户端IP地址,只能得到代理的IP地址

有没有人遇到过使用原始的PCB做的板子,只接USB线,不接电池的时候,ESP32工作不正常,串口会一直打印下面的信息。 `rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)`,接上电池之后,就没什么问题了。

i use centos7 and openresty/1.15.8.2

chmod 777 /data/openresty-china/static