mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
feat: added captcha serving service to haproxy
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
package.path = package.path .. "./?.lua;/usr/local/etc/haproxy/scripts/?.lua"
|
||||
|
||||
require("guard")
|
||||
require("hcaptcha")
|
||||
|
||||
core.register_service("hello-world", "http", guard.hello_world);
|
||||
core.register_service("hello-world", "http", guard.hello_world)
|
||||
core.register_service("hcaptcha-view", "http", hcaptcha.view)
|
Reference in New Issue
Block a user