Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 556 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 556 Bytes

caddy-ask-redis

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.

Installation

xcaddy build \
    --with github.com/randock/caddy-ask-redis

Usage

Caddyfile

# Global config
{
   	on_demand_tls {
		permission redis {
			address {$REDIS_HOST_PORT}
            username {$REDIS_USERNAME}
            password {$REDIS_PASSWORD}
        }
	}
}