Application server inside haproxy
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
h_app_roxy.lua
shorturl.lua

README.md

h-app-roxy

Installing the dependencies

Installing h-app-roxy

  • Put the h_app_roxy.lua script into your Lua search path.

Using h-app-roxy

core.register_service("shorturl", "http", require("h_app_roxy"){
	# Routes go here
})

Check out shorturl.lua for an example application.

Disclaimer

This project is intended as a joke to explore the abilities of haproxy’s Lua API. It is slippery when wet, do not use this at home. Definitely do not use this at work. If it breaks you get to keep both pieces.