htaccess-for-nginx
htaccess-for-nginx copied to clipboard
Error when trying to run htaccess for nginx, nginx says unknown directive: rewrite_by_lua_file
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.