e404 / htaccess-for-nginx

.htaccess for nginx enables the nginx high performance webserver to deal with .htaccess files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when trying to run htaccess for nginx, nginx says unknown directive: rewrite_by_lua_file

rhys19 opened this issue · comments

nginx: [emerg] unknown directive "rewrite_by_lua_file" in /etc/nginx/sites-enabled/domain.com.conf:6
nginx: configuration file /etc/nginx/nginx.conf test failed

It sounds like you don't have the Lua module installed into nginx. Check the README for details.