Source of https://returnco.de
This is a super simple service for generating different HTTP codes.
It's useful for testing how your own scripts deal with varying responses.
- Deploy to a small Linux system
- Builds on top of lighttpd web-server
- Uses a couple of lines of LUA scripting
- The scripts rely on lighttpd making available the request content (request line, host, port) via "lighty.env" dict
This repo is not intended as a 1:1 deployable image or overlay. The intention is to expose the source code, not provide a ready-to-run image.
I may add a Dockerfile eventually, time permitting.
You're welcome to clone, deploy, improve & share!