Skip to content

Caddy module to check Redis for allowed domains

License

Notifications You must be signed in to change notification settings

randock/caddy-ask-redis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}
        }
	}
}

About

Caddy module to check Redis for allowed domains

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%