Closed SnowWindDancing closed 8 months ago
sorry the dockerfile
from fabiocicerchia/nginx-lua:1.25.3-ubuntu22.04
run apt-get -qq update && apt-get -qq install luarocks make libiconv-hook-dev
RUN luarocks install lua-cjson run luarocks install lua-iconv run wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz run tar -xzvf libiconv-1.13.1.tar.gz run cd libiconv-1.13.1 && ./configure --prefix=/usr/local run cd libiconv-1.13.1 && make -j8 && make install run ln -s /usr/local/lib/libiconv.so /usr/lib run ln -s /usr/local/lib/libiconv.so.2 /usr/lib/libiconv.so.2
Lua syntax error
this is my dockerfile
this is code
this is question
lua entry thread aborted: runtime error: access_by_lua(nginx.conf:77):10: attempt to call method 'convert' (a nil value) stack traceback: