I installed openresty-1.13.6.1 but it lacks 'resty.http' module. My openresty is installed in /usr/local/openresty and i need to integrate resty.http module with it. How to do it?
Asked
Active
Viewed 5,179 times
1 Answers
6
Just copy both files (https://github.com/pintsized/lua-resty-http/tree/master/lib/resty) into /usr/local/openresty/lualib folder.
Update:
Resulted file structure should be:
/usr/local/openresty/lualib/resty/http.lua
/usr/local/openresty/lualib/resty/http_headers.lua

Alexander Altshuler
- 2,930
- 1
- 17
- 27