Sign inSign up

xaviblanes/alpine-minihttpd

By xaviblanes

Updated about 5 years ago

Is a small HTTP server. Its performance is not great, but for low or medium traffic sites it's valid

Image
0

1.2K

xaviblanes/alpine-minihttpd repository overview

**********************************
  mini_httpd - small HTTP server
**********************************
logo

Alpine Linux +mini_httpd - small HTTP server

mini_httpd is a small HTTP server. Its performance is not great, but for low or medium traffic sites it's quite adequate. It implements all the basic features of an HTTP server, including:

- GET, HEAD, and POST methods.
- CGI.
- Basic authentication.
- Security against ".." filename snooping.
- The common MIME types.
- Trailing-slash redirection.
- index.html, index.htm, index.cgi
- Directory listings.
- Multihoming / virtual hosting.
- Standard logging.
- Custom error pages.

It can also be configured to do SSL/HTTPS and IPv6.

mini_httpd was written for a couple reasons. One, as an experiment to see just how slow an old-fashioned forking web server would be with today's operating systems. The answer is, surprisingly, not that slow - on FreeBSD 3.2, mini_httpd benchmarks at about 90% the speed of Apache. The other main reason for writing mini_httpd was to get a simple platform for experimenting with new web server technology, for instance SSL.

Quickstart

$ sudo docker run -it -p80:80 xaviblanes/alpine-minihttpd
# rc default


Try it at localhost
Enjoy my image

Tag summary

Content type

Image

Digest

Size

5.9 MB

Last updated

about 5 years ago

docker pull xaviblanes/alpine-minihttpd