feat(proxy): use lua http module

This commit is contained in:
2025-01-10 06:54:47 -05:00
parent 62c6b8357d
commit 275a43fc18
3 changed files with 10 additions and 5 deletions

5
proxy/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM openresty/openresty:alpine
RUN wget -O /usr/local/openresty/lualib/resty/http.lua https://github.com/ledgetech/lua-resty-http/raw/refs/heads/master/lib/resty/http.lua
RUN wget -O /usr/local/openresty/lualib/resty/http_connect.lua https://github.com/ledgetech/lua-resty-http/raw/refs/heads/master/lib/resty/http_connect.lua
RUN wget -O /usr/local/openresty/lualib/resty/http_headers.lua https://github.com/ledgetech/lua-resty-http/raw/refs/heads/master/lib/resty/http_headers.lua