mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
7 lines
184 B
Lua
7 lines
184 B
Lua
package.path = package.path .. "./?.lua;/usr/local/etc/haproxy/scripts/?.lua"
|
|
|
|
local redis = require 'redis'
|
|
client = redis.connect('127.0.0.1', 6379)
|
|
response = client:ping()
|
|
|