Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
What paths does openresty look for when loading a lua file/module?
sahmed1020
Hi,
I am using the docker image FROM openresty/openresty:1.13.6.1-xenial.
I can see openresty is installed here:
/usr/local/openresty
If I want to require modules inside of my nginx.conf, where should I put my .lua code?
Thanks.
zchao1995
Hello!
See https://github.com/openresty/lua-nginx-module#toc44 for the details.