Caddy Server v2 module for use in tls_on_demand ask property.
The module will check if requested domain is a member of the Redis set defined by key
.
xcaddy build \
--with github.com/randock/caddy-ask-redis
Caddyfile
# Global config
{
on_demand_tls {
permission redis {
address {$REDIS_HOST_PORT}
username {$REDIS_USERNAME}
password {$REDIS_PASSWORD}
}
}
}