Tried to install LuaSec on a new machine recently and got the following error:

luarocks install luasec
Warning: Failed searching manifest: Failed loading manifest: Failed fetching manifest for - Error fetching file: Failed downloading - URL redirected to unsupported protocol - install luasec to get HTTPS support.

So all I need to do to install LuaSec is install LuaSec first,  brilliant!


One solution is buried here

and is to specify the server directly:

luarocks install --only-server= luasec