title: How to check if nginx uses LuaJit and not Lua?
body: <p>I installed <code>http-lua-module</code> with nginx, made a script that works perfectly fine, but now I want to be sure that <code>nginx</code>  uses <code>LuaJit</code> instead of <code>Lua</code> (because my research shows that LuaJit is faster).</p>
  
  <p>I added to the <code>.bushrc</code> those lines of code :</p>
  
  <pre><code>export LD_LIBRARY_PATH=/usr/local/luajit/lib:$LD_LIBRARY_PATH
  export LUAJIT_LIB=/usr/local/luajit/lib
  export LUAJIT_INC=/usr/local/luajit/include/luajit-2.0
  </code></pre>
  
  <p>I also recompiled nginx and now I just want to be sure that it uses LuaJit.</p>