Multithreaded simple web server. With hardcoded pages and ip in response http header, yet.
Run cabal install
to install dependences and build server. Then run sudo cabal run
to launch the server. Sudo
require because server trying occupy port 80
. If set port
> 1024 then becomes possible to run server without root privilege.