balena-io-experimental / ncat-web-server

Simple test web server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runs a simple "hello world" web server for container testing.

Implementation

Uses the web server provided by the ncat utility. For example, to listen on port 8080:

# balena run --rm -d -p 8080:80 kb2ma/ncat-web-server

Then you can fetch the page from the device at the URL http://<device-ip>:8080/index.html.

See the section Turn Netcat into a simple web server on the Neat Tricks page for more details.

About

Simple test web server

License:Apache License 2.0


Languages

Language:Lua 86.3%Language:Shell 13.3%Language:HTML 0.4%