title: Compile Lua scripts used on OpenResty
body: <p>I'm currently using OpenResty + Lua for several projects, and I like the flexibility that Lua gives me, in fact I wrote some micro-web apps directly in Lua scripts, that are served by Nginx-OpenResty.</p>
  
  <p>But, if I want to distribute the web app, obviously the Lua code should be either "plain" or, at least, slightly obfuscated. Instead, considering that LuaJIT that I'm currently using compiles Lua to native code, is it possible to pre-compile all Lua scripts as native code (not lua .o object files), and load them in OpenResty, instead of direct .lua source files?  </p>