title: Installing luarocks package for torch behind proxy
body: <p>I am looking to use the nn package for the torch framework. I downloaded and built torch from github. But when I now do :</p>
  
  <pre><code>    luarocks install nn
  </code></pre>
  
  <p>I get Cloning into 'nn' fatal: unable to connect to github.com error. My proxy servers are configured for wget and github. Both are working fine. I looked online and could only find <a href="https://github.com/keplerproject/luarocks/wiki/LuaRocks-through-a-proxy" rel="nofollow">this</a>, so I looked for config.lua but there were many so I added to all this:</p>
  
  <pre><code>    proxy="proxy@port"
  </code></pre>
  
  <p>But luarocks still does not work. Please suggest something.</p>