You are not logged in.
Pages: 1
After installing everything -- nginx, Lua, LuaJit, openresty, etc -- and starting nginx, I get this:
unknown directive "content_by_lua_file" in /etc/nginx/sites-enabled/my_site.com
What did I forget? Should have been enabled Lua support somehow when I was installing nginx? How?
My script will run on LuaJit
Offline
Not an Installatioin issue, moving to NC...
Offline
After installing everything -- nginx, Lua, LuaJit, openresty, etc -- and starting nginx, I get this:
unknown directive "content_by_lua_file" in /etc/nginx/sites-enabled/my_site.com
What did I forget? Should have been enabled Lua support somehow when I was installing nginx? How?
My script will run on LuaJit
You have solved this problem?
Offline
As far as I know (never used it), you do not need anything except openresty. It includes everything it needs and you should start it with its own systemd service file. Do not install/start nginx.
Edit: Well, you can probably compile the resty lua module for the standard nginx package, but there is no PKGBUILD in the repositories or the AUR as far as I can see.
Last edited by progandy (2021-04-12 16:00:58)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
As far as I know (never used it), you do not need anything except openresty. It includes everything it needs and you should start it with its own systemd service file. Do not install/start nginx.
Edit: Well, you can probably compile the resty lua module for the standard nginx package, but there is no PKGBUILD in the repositories or the AUR as far as I can see.
I also found openresty. Through it is the easiest way
Offline
Pages: 1