This commit is contained in:
followcube
2021-06-08 21:53:20 +03:00
parent 0f7bd9951b
commit 182b6e0000
6 changed files with 1231 additions and 3 deletions

View File

@@ -2,6 +2,9 @@ package.path = package.path .. "./?.lua;/usr/local/etc/haproxy/scripts/?.lua"
require("guard")
require("hcaptcha")
require("test")
core.register_service("hello-world", "http", guard.hello_world)
core.register_service("hcaptcha-view", "http", hcaptcha.view)
--core.register_service("hello-world", "http", guard.hello_world)
--core.register_service("hcaptcha-view", "http", hcaptcha.view)
--core.register_service("test", "http", test.hello_world2)
core.register_service("ratelimit", "http", test.ratelimit)