Example code: And we see error: How to fix this error: Solution 1: use directive resolver example: resolver 8.8.8.8; in block location Solution 2: You…
Supports CloudFlare, Incapsula, Sucuri, Any Proxy … Note: if you use reverse proxy, you should use: Test: Online demo: http://5.161.72.222/test/ip Recent search terms:LUA scrept chect…
We use lua-resty-websocket to create websocket server: https://github.com/openresty/lua-resty-websocket Solution: don’t use send_text, should use send_binary
We use lua-resty-websocket to create websocket server: https://github.com/openresty/lua-resty-websocket And we see in log file: Solution: chunk data then send each chunk: We use some value…
Read more: https://tools.ietf.org/id/draft-bryan-ftp-range-03.html We use extension library luasocket Edit file: https://github.com/lunarmodules/luasocket/blob/master/src/ftp.lua Local location: /usr/share/lua/5.1/socket/ftp.lua Add function: Edit function tget , add line if gett.rang then…