Skip to content

erikdubbelboer/libuv-lua-http-server

 
 

Repository files navigation

libuv-lua-http-server

Simple example webserver using libuv and lua.

A simpler http only version is available in the master branch.

The https2 branch contains a different implementation of the SSL related code. The https1 branch uses uv_poll and lets OpenSSL handle the IO. While the https2 branch uses libuv's IO functions.

HTTPS

To generate a pem file for the pemfile option you need to concatenate your private key, your certificate and the intermediate certificates up to the top.

cp certificate.key ssl.pem
echo >> ssl.pem
cat certificate.crt >> ssl.pem
echo >> ssl.pem
cat intermediate.pem >> ssl.pem

TODO:

  • Custom script not found or could not parse handler that could be used to serve static content.
  • SPDY v3

About

Simple example webserver using libuv and lua

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages