Answer the question
In order to leave comments, you need to log in
How to use/pass variable from lua in nginx config?
Hello!
I can’t immediately understand how to solve the following problem:
We have openresty and this is the location
location ~* \.(js|eot|svg|ttf|woff|woff2|css)$ {
content_by_lua_file /var/www/lua/get_template_path.lua;
root /var/www/lua/$template_path/;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question