Login 24/7 Support Community tyk.io

Requirements

Tyk uses LuaJIT. The main requirement is the LuaJIT shared library, you may find this as libluajit-x in most distros.

For Ubuntu 14.04 you may use:

$ apt-get install libluajit-5.1-2 $ apt-get install luarocks

The LuaJIT required modules are as follows:

  • lua-cjson: in case you have luarocks, run: $ luarocks install lua-cjson
  • From v1.3.6 You can also use override response code, headers and body using ReturnOverrides. See the Extend ReturnOverides sample for details.