--- a/src/luaconf.h	2017-09-14 14:24:29.000000000 +0300
+++ b/src/luaconf.h	2017-09-14 14:25:08.000000000 +0300
@@ -37,7 +37,7 @@
 #endif
 #define LUA_LROOT	"/usr/local"
 #define LUA_LUADIR	"/lua/5.1/"
-#define LUA_LJDIR	"/luajit-2.1.0-beta3/"
+#define LUA_LJDIR	"/nginx-luajit-2.1/"
 
 #ifdef LUA_ROOT
 #define LUA_JROOT	LUA_ROOT
